mirror of
https://github.com/corda/corda.git
synced 2025-01-03 03:36:48 +00:00
Fixed the resolution of the corda_version variable.
This commit is contained in:
parent
0a6cdb77c3
commit
34d1e1583e
@ -209,7 +209,7 @@ class Node {
|
|||||||
* @return A file representing the Corda JAR.
|
* @return A file representing the Corda JAR.
|
||||||
*/
|
*/
|
||||||
private File verifyAndGetCordaJar() {
|
private File verifyAndGetCordaJar() {
|
||||||
def maybeCordaJAR = project.configurations.runtime.filter { it.toString().contains("corda-${project.corda_version}.jar")}
|
def maybeCordaJAR = project.configurations.runtime.filter { it.toString().contains("corda-${project.rootProject.corda_version}.jar")}
|
||||||
if(maybeCordaJAR.size() == 0) {
|
if(maybeCordaJAR.size() == 0) {
|
||||||
throw new RuntimeException("No Corda Capsule JAR found. Have you deployed the Corda project to Maven? Looked for \"corda-${project.corda_version}.jar\"")
|
throw new RuntimeException("No Corda Capsule JAR found. Have you deployed the Corda project to Maven? Looked for \"corda-${project.corda_version}.jar\"")
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user