CORDA-686 - Split Cordapp gradle plugin from cordformation (#1817)

Added CorDapp gradle plugin written in Kotlin and bumped the version of gradle plugins to 2.0.0 to reflect that this backwards incompatible change is a part of the on going stabilisation of the Corda gradle plugin suite.
This commit is contained in:
Clinton
2017-10-09 20:08:08 +01:00
committed by GitHub
parent 747830ff90
commit 484cf75420
23 changed files with 167 additions and 92 deletions

View File

@ -1,6 +1,7 @@
apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: 'net.corda.plugins.cordformation'
apply plugin: 'net.corda.plugins.cordapp'
apply plugin: 'net.corda.plugins.quasar-utils'
repositories {
@ -30,9 +31,9 @@ sourceSets {
compileTestJava.dependsOn tasks.getByPath(':node:capsule:buildCordaJAR')
dependencies {
cordaCompile project(':core')
cordaCompile project(':client:jfx')
cordaCompile project(':node-driver')
compile project(':core')
compile project(':client:jfx')
compile project(':node-driver')
testCompile project(':verifier')
testCompile project(':test-utils')
@ -42,11 +43,11 @@ dependencies {
exclude group: "junit"
}
cordaCompile project(path: ":node:capsule", configuration: 'runtimeArtifacts')
cordaCompile project(path: ":webserver:webcapsule", configuration: 'runtimeArtifacts')
compile project(path: ":node:capsule", configuration: 'runtimeArtifacts')
compile project(path: ":webserver:webcapsule", configuration: 'runtimeArtifacts')
// Corda Plugins: dependent flows and services
cordapp project(':finance')
compile project(':finance')
}
mainClassName = "net.corda.docs.ClientRpcTutorialKt"