Upgraded to gradle 4.3 (#1960)

* Upgraded to gradle 4.3
* Replaced a null check with an elvis expression
This commit is contained in:
Clinton 2017-10-31 16:44:13 +00:00 committed by GitHub
parent 7f96205b99
commit 6a5f8a2362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
gradlePluginsVersion=2.0.6
gradlePluginsVersion=2.0.7
kotlinVersion=1.1.50
guavaVersion=21.0
bouncycastleVersion=1.57

View File

@ -61,7 +61,8 @@ class CordappPlugin : Plugin<Project> {
}
filteredDeps.forEach {
// net.corda or com.r3.corda.enterprise may be a core dependency which shouldn't be included in this cordapp so give a warning
if ((it.group.startsWith("net.corda.") || it.group.startsWith("com.r3.corda.enterprise."))) {
val group = it.group?.toString() ?: ""
if (group.startsWith("net.corda.") || group.startsWith("com.r3.corda.enterprise.")) {
project.logger.warn("You appear to have included a Corda platform component ($it) using a 'compile' or 'runtime' dependency." +
"This can cause node stability problems. Please use 'corda' instead." +
"See http://docs.corda.net/cordapp-build-systems.html")

Binary file not shown.

View File

@ -1,6 +1,5 @@
#Thu Aug 24 12:32:31 BST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3-bin.zip