cb4c8d1ee1
* Updated gradle to 4.10.2 * Updated kotlin to 1.2.71 * Updated coroutines to 0.30.2 * Overwrite cancel and delegate to the channel. * Inline the cancel call. * Handle the cancellation of the deferred value too.
64 lines
1.6 KiB
Groovy
64 lines
1.6 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
subprojects {
|
|
ext {
|
|
artifactVersion = '2.4.0'
|
|
}
|
|
}
|
|
|
|
buildscript {
|
|
ext {
|
|
versions = [
|
|
gradle : '4.4.1',
|
|
kotlin : '1.2.71',
|
|
code : 1,
|
|
name : '1.0.0',
|
|
sdk : [
|
|
minimum: 14,
|
|
target : 27
|
|
],
|
|
android: [
|
|
buildTools: '27.0.3',
|
|
support : '27.0.2'
|
|
],
|
|
rx : [
|
|
rxJava1: '1.2.9',
|
|
rxJava2: '2.0.8'
|
|
],
|
|
test : [
|
|
junit : '4.12',
|
|
mockito: '2.13.0'
|
|
],
|
|
util : [
|
|
commons: '2.5'
|
|
]
|
|
]
|
|
}
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.1.4'
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
|
|
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion = versions.gradle
|
|
} |