Skip to content

Commit 9f7b302

Browse files
committed
fix:配置读取
1 parent 171b8c7 commit 9f7b302

17 files changed

+40
-52
lines changed

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle.kts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@ plugins {
22
alias(libs.plugins.android.application)
33
alias(libs.plugins.kotlin.android)
44
alias(libs.plugins.kotlin.compose)
5-
}
65

6+
}
7+
repositories {
8+
google()
9+
mavenCentral()
10+
}
711
android {
812
namespace = "com.zmal.sleepy"
913
compileSdk = 36
1014

1115
defaultConfig {
1216
applicationId = "com.zmal.sleepy"
1317
minSdk = 29
14-
//noinspection OldTargetApi
15-
targetSdk = 35
16-
versionCode = 23
18+
versionCode = 26
1719
versionName = "1.7"
1820

1921
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
@@ -32,8 +34,9 @@ android {
3234
sourceCompatibility = JavaVersion.VERSION_21
3335
targetCompatibility = JavaVersion.VERSION_21
3436
}
35-
kotlinOptions {
36-
jvmTarget = "21"
37+
buildFeatures {
38+
buildConfig = true
39+
// viewBinding = true
3740
}
3841
buildFeatures {
3942
compose = true
51.1 KB
Binary file not shown.
51.1 KB
Binary file not shown.
51.1 KB
Binary file not shown.
685 Bytes
Binary file not shown.
685 Bytes
Binary file not shown.
685 Bytes
Binary file not shown.
706 Bytes
Binary file not shown.
706 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)