46 lines
1.5 KiB
Groovy
46 lines
1.5 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'kotlinx-serialization'
|
|
|
|
android {
|
|
compileSdkVersion gCompileSdkVersion
|
|
buildToolsVersion gBuildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion gMinSdkVersion
|
|
targetSdkVersion gTargetSdkVersion
|
|
versionCode gVersionCode
|
|
versionName gVersionName
|
|
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
kapt "androidx.room:room-compiler:$gRoomVersion"
|
|
|
|
implementation project(":core")
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:$gKotlinSerializationVersion"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$gKotlinVersion"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$gKotlinCoroutineVersion"
|
|
implementation "androidx.room:room-runtime:$gRoomVersion"
|
|
implementation "androidx.room:room-ktx:$gRoomVersion"
|
|
implementation "androidx.core:core-ktx:$gAndroidKtxVersion"
|
|
implementation "rikka.preference:multiprocesspreference:$gMultiprocessPreferenceVersion"
|
|
} |