Files
android-learn-app/app/build.gradle
DelLevin-Home 7dc79172fa 首次提交
2026-02-08 22:31:32 +08:00

50 lines
1.3 KiB
Groovy

plugins {
alias(libs.plugins.android.application)
}
android {
namespace 'top.iletter.lvnote'
compileSdk {
version = release(36)
}
defaultConfig {
applicationId "top.iletter.lvnote"
minSdk 29
targetSdk 36
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildFeatures {
viewBinding true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}
dependencies {
implementation libs.appcompat
implementation libs.material
implementation libs.activity
implementation libs.constraintlayout
testImplementation libs.junit
androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core
// Material Design 3 (AndroidX)
implementation 'com.google.android.material:material:1.11.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.fragment:fragment:1.6.2'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
}