Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (46 sloc) 1.31 KB
buildscript {
ext.versions = [
'kotlin': '1.3.11',
'junit': '5.2.0',
'moshi': '1.8.0',
'okhttp': '3.12.0',
'retrofit': '2.5.0',
]
ext.deps = [
'okhttp': "com.squareup.okhttp3:okhttp:${versions.okhttp}",
'coroutine': 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.0',
'kotlin': [
'stdlib': 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.11'
],
'mockWebServer': "com.squareup.okhttp3:mockwebserver:${versions.okhttp}",
'junit': [
'api': "org.junit.jupiter:junit-jupiter-api:${versions.junit}",
'engine': "org.junit.jupiter:junit-jupiter-engine:${versions.junit}",
],
'simpleXml': 'org.simpleframework:simple-xml:2.7.1',
'mockito': 'org.mockito:mockito-core:2.23.4',
'rxjava2': 'io.reactivex.rxjava2:rxjava:2.2.5',
'truth': 'com.google.truth:truth:0.42'
]
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
}
}
allprojects {
if (JavaVersion.current().isJava8Compatible()) {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
subprojects {
repositories {
mavenCentral()
}
tasks.withType(Javadoc).all { enabled = false } // FIXME: build fails without this.
group = GROUP
version = VERSION_NAME
}