android studio 创建的初始工程。

This commit is contained in:
xsl
2025-10-15 18:01:03 +08:00
commit 4c299ce02a
59 changed files with 2111 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
plugins {
alias(libs.plugins.android.application)
}
android {
namespace 'com.hmwl.sample'
compileSdk 35
defaultConfig {
applicationId "com.hmwl.sample"
minSdk 28
targetSdk 35
versionCode 1
versionName "1.0"
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('src/main/cpp/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
}