36 lines
693 B
Groovy
36 lines
693 B
Groovy
|
plugins {
|
||
|
id 'com.android.library'
|
||
|
id 'kotlin-android'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 30
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 21
|
||
|
targetSdkVersion 30
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
|
||
|
kotlinOptions {
|
||
|
jvmTarget = '1.8'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
// Dependencies must be hardcoded to support F-droid
|
||
|
|
||
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
}
|