56 lines
1.9 KiB
Groovy
56 lines
1.9 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlinx-serialization'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.2"
|
|
defaultConfig {
|
|
applicationId "com.github.kr328.clash"
|
|
minSdkVersion 24
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
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:$room_version"
|
|
|
|
implementation project(":core")
|
|
implementation project(":service")
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
implementation "androidx.lifecycle:lifecycle-livedata:2.1.0"
|
|
implementation "androidx.lifecycle:lifecycle-common-java8:2.1.0"
|
|
implementation 'androidx.browser:browser:1.0.0'
|
|
implementation 'androidx.preference:preference:1.1.0'
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
implementation 'androidx.core:core-ktx:1.2.0-rc01'
|
|
implementation 'androidx.fragment:fragment-ktx:1.2.0-rc02'
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta3'
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
implementation "androidx.preference:preference-ktx:1.1.0"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.14.0"
|
|
implementation "com.charleskorn.kaml:kaml:0.14.0"
|
|
implementation "com.google.android.material:material:1.2.0-alpha02"
|
|
implementation 'com.google.firebase:firebase-analytics:17.2.1'
|
|
}
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|