Skip to content

Commit 88b8d6e

Browse files
author
Chavdar Botev
committed
Gradle 2.1 fixes
1 parent a4132ab commit 88b8d6e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

databus-core/databus-core-impl/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ dependencies {
2424

2525
test {
2626
useTestNG()
27-
testDataDirName = projectDir.absolutePath + "/test_data"
28-
systemProperties.put('test.datadir', "${testDataDirName}")
27+
ext.testDataDirName = projectDir.absolutePath + "/test_data"
28+
systemProperties.put('test.datadir', "${ext.testDataDirName}")
2929
}

databus2-relay/databus2-relay-impl/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ dependencies {
3232
}
3333

3434
test {
35-
ggTestDataDirName = projectDir.absolutePath + "/src/test/TestData"
36-
systemProperties.put('test.ggTestDataDir', "${ggTestDataDirName}")
35+
ext.ggTestDataDirName = projectDir.absolutePath + "/src/test/TestData"
36+
systemProperties.put('test.ggTestDataDir', "${ext.ggTestDataDirName}")
3737
}
3838
test.useTestNG()
3939
test.workingDir = "${project.rootDir}"

subprojects.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if (isDefaultEnvironment) {
5757
externalDependency['log4j'] = 'org.slf4j:slf4j-log4j12:1.6.1'
5858
}
5959

60-
tasks.withType(Compile).all { Compile compile ->
60+
tasks.withType(JavaCompile).all { JavaCompile compile ->
6161
compile.options.compilerArgs = ['-Xlint', '-Xlint:-path']
6262
}
6363
/* workaround for GRADLE-2243 (http://issues.gradle.org/browse/GRADLE-2243) */

0 commit comments

Comments
 (0)