mirror of
https://github.com/Xtao-Labs/fuck_huaya.git
synced 2024-11-24 14:39:20 +00:00
62 lines
1.9 KiB
Groovy
62 lines
1.9 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 23
|
|
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
|
|
}
|
|
namespace 'com.xtaolabs.fuck_huaya'
|
|
lint {
|
|
checkReleaseBuilds false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'de.robv.android.xposed:api:82'
|
|
implementation 'com.highcapable.yukihookapi:api:1.1.11'
|
|
ksp 'com.highcapable.yukihookapi:ksp-xposed:1.1.11'
|
|
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'
|
|
}
|