mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-29 08:46:10 +03:00
48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
|
plugins {
|
||
|
id("com.android.library")
|
||
|
kotlin("android")
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdk = buildTargetSdkVersion
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk = buildMinSdkVersion
|
||
|
targetSdk = buildTargetSdkVersion
|
||
|
|
||
|
versionCode = buildVersionCode
|
||
|
versionName = buildVersionName
|
||
|
|
||
|
consumerProguardFiles("consumer-rules.pro")
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
named("release") {
|
||
|
isMinifyEnabled = 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 {
|
||
|
compileOnly(project(":hideapi"))
|
||
|
|
||
|
implementation(kotlin("stdlib-jdk7"))
|
||
|
implementation("androidx.core:core-ktx:$ktxVersion")
|
||
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion")
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
google()
|
||
|
}
|