42 lines
1.1 KiB
Groovy
42 lines
1.1 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
//apply from: 'bintray.gradle'
|
|
//apply plugin: "com.vanniktech.maven.publish"
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion "30.0.3"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 30
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
warning 'InvalidPackage'
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.4.31"
|
|
compileOnly "androidx.appcompat:appcompat:1.1.0"
|
|
testImplementation "junit:junit:4.12"
|
|
androidTestImplementation "androidx.test:runner:1.2.0"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
|
|
|
|
} |