Merge pull request #416 from nskvortsov/KT-4690
Test common Gradle property for kotlin version
This commit is contained in:
+3
-2
@@ -1,4 +1,5 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
|
ext.kotlin_version = "0.1-SNAPSHOT"
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven {
|
maven {
|
||||||
@@ -6,7 +7,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin-core:0.1-SNAPSHOT'
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin-core:$kotlin_version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -30,7 +31,7 @@ dependencies {
|
|||||||
compile 'com.google.guava:guava:12.0'
|
compile 'com.google.guava:guava:12.0'
|
||||||
deployCompile 'com.google.guava:guava:12.0'
|
deployCompile 'com.google.guava:guava:12.0'
|
||||||
testCompile 'org.testng:testng:6.8'
|
testCompile 'org.testng:testng:6.8'
|
||||||
testRuntime 'org.jetbrains.kotlin:kotlin-stdlib:0.1-SNAPSHOT'
|
testRuntime "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
|||||||
Reference in New Issue
Block a user