Skip to content

Commit

Permalink
Merge pull request corda#33 from corda/anthony-v3-rc02-fixes
Browse files Browse the repository at this point in the history
Adding parameters to nested build.gradle files
  • Loading branch information
anthonykeenan authored Mar 9, 2018
2 parents 32f294c + 4679ef8 commit a20c418
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
ext.corda_release_group = 'net.corda'
ext.corda_release_version = 'corda-3.0-RC02'
ext.corda_release_version = 'corda-3.0-RC03'
ext.corda_gradle_plugins_version = '3.0.9'
ext.junit_version = '4.12'
ext.quasar_version = '0.7.9'
Expand Down
4 changes: 4 additions & 0 deletions cordapp-contracts-states/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ sourceSets {
}
}

tasks.withType(JavaCompile) {
options.compilerArgs << "-parameters" // Required for passing named arguments to your flow via the shell.
}

dependencies {
// Corda integration dependencies
cordaCompile "$corda_release_group:corda-core:$corda_release_version"
Expand Down
4 changes: 4 additions & 0 deletions cordapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ sourceSets {
}
}

tasks.withType(JavaCompile) {
options.compilerArgs << "-parameters" // Required for passing named arguments to your flow via the shell.
}

configurations {
integrationTestCompile.extendsFrom testCompile
integrationTestRuntime.extendsFrom testRuntime
Expand Down

0 comments on commit a20c418

Please sign in to comment.