42 lines
1.1 KiB
Groovy
42 lines
1.1 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'com.github.dcendents.android-maven'
|
|
apply plugin: 'jacoco-android'
|
|
|
|
ext {
|
|
PUBLISH_GROUP_ID = 'id.zelory'
|
|
PUBLISH_VERSION = '3.0.1'
|
|
PUBLISH_ARTIFACT_ID = 'compressor'
|
|
}
|
|
|
|
apply from: "$rootDir/gradle/publish_maven.gradle"
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion '29.0.2'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 14
|
|
targetSdkVersion 29
|
|
versionCode 5
|
|
versionName "3.0.0"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
testImplementation 'io.mockk:mockk:1.9.3'
|
|
testImplementation 'com.natpryce:hamkrest:1.7.0.0'
|
|
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$kotlin_coroutines_version"
|
|
}
|