mirror of
https://github.com/corda/corda.git
synced 2025-06-05 17:01:45 +00:00
CORDA-2002: Adding new Cordform bootstrap endpoint to move Cordapp JA… (#3963)
* CORDA-2002: Adding new Cordform bootstrap endpoint to move Cordapp JAR copying back into Cordform
This commit is contained in:
parent
c4d86b1b26
commit
ae4dfc93da
@ -147,11 +147,19 @@ internal constructor(private val initSerEnv: Boolean,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Entry point for Cordform */
|
/** Old Entry point for Cordform
|
||||||
|
*
|
||||||
|
* TODO: Remove once the gradle plugins are updated to 4.0.30
|
||||||
|
*/
|
||||||
fun bootstrap(directory: Path, cordappJars: List<Path>) {
|
fun bootstrap(directory: Path, cordappJars: List<Path>) {
|
||||||
bootstrap(directory, cordappJars, copyCordapps = true, fromCordform = true)
|
bootstrap(directory, cordappJars, copyCordapps = true, fromCordform = true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Entry point for Cordform */
|
||||||
|
fun bootstrapCordform(directory: Path, cordappJars: List<Path>) {
|
||||||
|
bootstrap(directory, cordappJars, copyCordapps = false, fromCordform = true)
|
||||||
|
}
|
||||||
|
|
||||||
/** Entry point for the tool */
|
/** Entry point for the tool */
|
||||||
fun bootstrap(directory: Path, copyCordapps: Boolean) {
|
fun bootstrap(directory: Path, copyCordapps: Boolean) {
|
||||||
// Don't accidently include the bootstrapper jar as a CorDapp!
|
// Don't accidently include the bootstrapper jar as a CorDapp!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user