Skip to content

Commit

Permalink
Use variables to store some versions of core libs
Browse files Browse the repository at this point in the history
  • Loading branch information
XinyueZ committed Oct 2, 2018
1 parent 5c51f4b commit b5477ff
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
buildscript {
ext.versions = [
"kotlin" : "1.3.0-rc-116",
"coroutinesCore": "0.27.0-eap13",
"retrofit" : "2.4.0"
]

repositories {
mavenCentral()
maven { url 'http://dl.bintray.com/kotlin/kotlin-eap' }
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0-rc-57'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
}
}

Expand All @@ -22,9 +28,9 @@ repositories {
}

dependencies {
api 'com.squareup.retrofit2:retrofit:2.4.0'
api 'org.jetbrains.kotlin:kotlin-stdlib:1.3.0-rc-57'
api 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.26.1-eap13'
api "com.squareup.retrofit2:retrofit:${versions.retrofit}"
api "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.coroutinesCore}"

testImplementation 'junit:junit:4.12'
testImplementation 'com.squareup.okhttp3:mockwebserver:3.11.0'
Expand Down

0 comments on commit b5477ff

Please sign in to comment.