NOTICK: Remove buildscript block from Node's build.gradle. (#5809)

This commit is contained in:
Chris Rankin 2019-12-16 16:24:47 +00:00 committed by Matthew Nesbit
parent 91cdffd429
commit 545a463a5b

View File

@ -1,21 +1,3 @@
// Import private compile time constants
buildscript {
def properties = new Properties()
file("$projectDir/src/main/resources/build.properties").withInputStream { properties.load(it) }
Properties constants = new Properties()
file("$rootDir/constants.properties").withInputStream { constants.load(it) }
ext.jolokia_version = constants.getProperty('jolokiaAgentVersion')
dependencies {
classpath group: 'com.github.docker-java', name: 'docker-java', version: '3.1.5'
}
}
plugins {
id 'com.google.cloud.tools.jib' version '0.9.4'
}
@ -31,6 +13,13 @@ apply plugin: 'com.jfrog.artifactory'
description 'Corda node modules'
ext {
Properties constants = new Properties()
file("$rootDir/constants.properties").withInputStream { constants.load(it) }
jolokia_version = constants.getProperty('jolokiaAgentVersion')
}
//noinspection GroovyAssignabilityCheck
configurations {
integrationTestCompile.extendsFrom testCompile