Files
Fotoapparat/fotoapparat/build.gradle
T
Paul Woitaschek cb4c8d1ee1 Updated Coroutines (#306)
* 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.
2018-10-11 00:02:50 +02:00

51 lines
1.3 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'kotlin-android'
group = 'io.fotoapparat'
kotlin.experimental.coroutines 'enable'
android {
buildToolsVersion versions.android.buildTools
compileSdkVersion versions.sdk.target
defaultConfig {
minSdkVersion versions.sdk.minimum
targetSdkVersion versions.sdk.target
}
buildTypes {
release {
minifyEnabled false
}
}
testOptions {
unitTests.returnDefaultValues = true
}
}
dependencies {
compile "com.android.support:support-annotations:${versions.android.support}"
compile "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.2'
testImplementation "junit:junit:${versions.test.junit}"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:${versions.kotlin}"
testImplementation "org.mockito:mockito-core:${versions.test.mockito}"
testImplementation "commons-io:commons-io:${versions.util.commons}"
}
ext {
bintrayName = 'fotoapparat'
libraryName = 'Fotoapparat'
artifact = 'fotoapparat'
libraryVersion = artifactVersion
libraryDescription = 'Camera library for Android with a more user-friendly API.'
}
apply from: '../deploy.gradle'