60 lines
1.3 KiB
Groovy
60 lines
1.3 KiB
Groovy
plugins {
|
|
alias(libs.plugins.android.application)
|
|
}
|
|
|
|
ext.vvl_version='1.4.321.0'
|
|
apply from: "./download_vvl.gradle"
|
|
|
|
android {
|
|
namespace 'com.hmwl.sample'
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
applicationId "com.hmwl.sample"
|
|
minSdk 30
|
|
targetSdk 35
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
ndk {
|
|
abiFilters 'arm64-v8a'
|
|
}
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
debuggable true
|
|
jniDebuggable true
|
|
}
|
|
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_21
|
|
targetCompatibility JavaVersion.VERSION_21
|
|
}
|
|
buildFeatures {
|
|
prefab true
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path file('../CMakeLists.txt')
|
|
version '3.22.1'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation libs.appcompat
|
|
implementation libs.material
|
|
implementation libs.games.activity
|
|
testImplementation libs.junit
|
|
androidTestImplementation libs.ext.junit
|
|
androidTestImplementation libs.espresso.core
|
|
} |