mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-19 03:22:39 +02:00
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
plugins {
|
|
id("com.android.application")
|
|
}
|
|
|
|
android {
|
|
namespace = "es.chiteroman.playintegrityfix"
|
|
compileSdk = 34
|
|
ndkVersion = "26.1.10909125"
|
|
buildToolsVersion = "34.0.0"
|
|
|
|
defaultConfig {
|
|
applicationId = "es.chiteroman.playintegrityfix"
|
|
minSdk = 26
|
|
targetSdk = 34
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
packaging {
|
|
jniLibs {
|
|
excludes += "**/libdobby.so"
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
prefab = true
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments += setOf("-DANDROID_STL=none", "-DCMAKE_BUILD_TYPE=MinSizeRel")
|
|
cppFlags += setOf("-std=c++20", "-fno-exceptions", "-fno-rtti", "-fvisibility=hidden", "-fvisibility-inlines-hidden")
|
|
}
|
|
}
|
|
}
|
|
|
|
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 {
|
|
cmake {
|
|
path = file("src/main/cpp/CMakeLists.txt")
|
|
version = "3.22.1"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("dev.rikka.ndk.thirdparty:cxx:1.2.0")
|
|
} |