mirror of
https://github.com/Xtao-Labs/fuck_huaya.git
synced 2024-11-22 05:53:30 +00:00
60 lines
1.8 KiB
Groovy
60 lines
1.8 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'com.google.devtools.ksp' version '1.8.0-1.0.8'
|
|
}
|
|
|
|
android {
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.xtaolabs.fuck_huaya"
|
|
minSdk 31
|
|
targetSdk 33
|
|
versionCode rootProject.ext.appVersionCode
|
|
versionName rootProject.ext.appVersionName
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled rootProject.ext.enableR8
|
|
shrinkResources rootProject.ext.enableR8
|
|
zipAlignEnabled rootProject.ext.enableR8
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '11'
|
|
freeCompilerArgs = [
|
|
'-Xno-param-assertions',
|
|
'-Xno-call-assertions',
|
|
'-Xno-receiver-assertions'
|
|
]
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'de.robv.android.xposed:api:82'
|
|
implementation 'com.highcapable.yukihookapi:api:1.1.6'
|
|
ksp 'com.highcapable.yukihookapi:ksp-xposed:1.1.6'
|
|
implementation 'com.github.duanhong169:drawabletoolbox:1.0.7'
|
|
implementation 'androidx.core:core-ktx:1.9.0'
|
|
implementation 'androidx.appcompat:appcompat:1.5.1'
|
|
implementation 'com.google.android.material:material:1.6.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
} |