mirror of
https://github.com/corda/corda.git
synced 2025-02-07 11:30:22 +00:00
CORDA-742 PR #1951 Moved extension methods back.
This commit is contained in:
parent
92bbce711b
commit
ee3106fd5a
@ -224,6 +224,6 @@ open class Cordform : DefaultTask() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private fun logFile(): Path = this.logDirectory().resolve("generate-info.log")
|
||||||
private fun ProcessBuilder.addEnvironment(key: String, value: String) = this.apply { environment().put(key, value) }
|
private fun ProcessBuilder.addEnvironment(key: String, value: String) = this.apply { environment().put(key, value) }
|
||||||
}
|
}
|
||||||
|
@ -24,10 +24,9 @@ class Node(private val project: Project) : CordformNode() {
|
|||||||
val capsuleCacheDir: String = "./cache"
|
val capsuleCacheDir: String = "./cache"
|
||||||
}
|
}
|
||||||
|
|
||||||
fun fullPath(): Path = project.projectDir.toPath().resolve(this.nodeDir.toPath())
|
fun fullPath(): Path = project.projectDir.toPath().resolve(nodeDir.toPath())
|
||||||
fun logDirectory(): Path = this.fullPath().resolve("logs")
|
fun logDirectory(): Path = fullPath().resolve("logs")
|
||||||
fun makeLogDirectory() = Files.createDirectories(this.logDirectory())
|
fun makeLogDirectory() = Files.createDirectories(logDirectory())
|
||||||
fun logFile(): Path = this.logDirectory().resolve("generate-info.log")
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the list of CorDapps to install to the plugins directory. Each cordapp is a fully qualified Maven
|
* Set the list of CorDapps to install to the plugins directory. Each cordapp is a fully qualified Maven
|
||||||
|
Loading…
x
Reference in New Issue
Block a user