[buildsystem] (build.gradle): add gradle file

This commit is contained in:
2025-05-07 20:38:43 +08:00
parent fc0396705f
commit a50856dea0
+37
View File
@@ -0,0 +1,37 @@
apply plugin: 'com.android.library'
android {
namespace 'top.mobilegl.mobilegl'
compileSdk 34
defaultConfig {
minSdk 26
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
ndkVersion '27.2.12479018'
}
buildTypes {
release {
minifyEnabled false
}
proguard {
minifyEnabled true
initWith debug
}
fordebug {
debuggable true
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
version "3.22.1"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
ndkVersion '26.1.10909125'
}