总算是编译通过了
This commit is contained in:
+28
-2
@@ -1,13 +1,15 @@
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
//alias(libs.plugins.kotlin.android)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace 'com.hmwl.example'
|
||||
namespace 'com.inewme.uvmirror'
|
||||
compileSdk 36
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.hmwl.f20251110"
|
||||
applicationId "com.inewme.uvmirror.f20251112"
|
||||
minSdk 30
|
||||
targetSdk 36
|
||||
versionCode 1
|
||||
@@ -26,6 +28,20 @@ android {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
compose true
|
||||
}
|
||||
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion '1.5.1'
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '17'
|
||||
}
|
||||
// kotlinOptions {
|
||||
// jvmTarget = '17'
|
||||
// }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -33,11 +49,21 @@ dependencies {
|
||||
implementation libs.appcompat
|
||||
implementation libs.material
|
||||
implementation libs.games.activity
|
||||
implementation libs.core.ktx
|
||||
implementation libs.androidx.core.ktx
|
||||
testImplementation libs.junit
|
||||
androidTestImplementation libs.ext.junit
|
||||
androidTestImplementation libs.espresso.core
|
||||
|
||||
implementation project(':app')
|
||||
// Jetpack Compose
|
||||
implementation "androidx.compose.ui:ui:1.5.0"
|
||||
implementation "androidx.compose.material3:material3:1.0.0"
|
||||
implementation "androidx.compose.foundation:foundation:1.5.0"
|
||||
implementation "androidx.compose.runtime:runtime:1.5.0"
|
||||
implementation "androidx.activity:activity-compose:1.7.2" // �ؼ����ṩ setContent
|
||||
|
||||
debugImplementation("androidx.compose.ui:ui-tooling:1.5.4")
|
||||
|
||||
def camerax_version = '1.4.2'
|
||||
implementation "androidx.camera:camera-core:$camerax_version"
|
||||
|
||||
Reference in New Issue
Block a user