PlayIntegrityFix/app/build.gradle.kts

65 lines
1.5 KiB
Plaintext
Raw Normal View History

2023-11-20 07:42:21 +08:00
plugins {
id("com.android.application")
}
android {
namespace = "es.chiteroman.playintegrityfix"
compileSdk = 34
ndkVersion = "26.1.10909125"
buildToolsVersion = "34.0.0"
2023-11-25 03:34:31 +08:00
packaging {
jniLibs {
excludes += "**/libdobby.so"
}
}
buildFeatures {
prefab = true
}
2023-11-20 07:42:21 +08:00
defaultConfig {
applicationId = "es.chiteroman.playintegrityfix"
minSdk = 26
targetSdk = 34
versionCode = 1
versionName = "1.0"
externalNativeBuild {
2023-11-25 03:34:31 +08:00
cmake {
arguments += "-DANDROID_STL=none"
arguments += "-DCMAKE_BUILD_TYPE=MinSizeRel"
cppFlags += "-std=c++20"
cppFlags += "-fno-exceptions"
cppFlags += "-fno-rtti"
cppFlags += "-fvisibility=hidden"
cppFlags += "-fvisibility-inlines-hidden"
2023-11-20 07:42:21 +08:00
}
}
}
buildTypes {
release {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
externalNativeBuild {
2023-11-25 03:34:31 +08:00
cmake {
path = file("src/main/cpp/CMakeLists.txt")
version = "3.22.1"
2023-11-20 07:42:21 +08:00
}
}
2023-11-25 03:34:31 +08:00
}
dependencies {
implementation("dev.rikka.ndk.thirdparty:cxx:1.2.0")
2023-11-20 07:42:21 +08:00
}