Browse Source

1.版本1.0.12打包。

20241218TB223FC(测试jar包)
wangwanlei 7 months ago
parent
commit
50837f7fd6
1 changed files with 9 additions and 7 deletions
  1. 9
    7
      app/build.gradle.kts

+ 9
- 7
app/build.gradle.kts View File

@@ -17,8 +17,8 @@ android {
17 17
         applicationId = "com.xhkjedu.manageapp"
18 18
         minSdk = 24
19 19
         targetSdk = 30
20
-        versionCode = 12
21
-        versionName = "1.0.11"
20
+        versionCode = 13
21
+        versionName = "1.0.12"
22 22
 
23 23
         testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
24 24
         vectorDrawables {
@@ -32,7 +32,6 @@ android {
32 32
         enable=true
33 33
     }
34 34
 
35
-
36 35
     signingConfigs {
37 36
         create("keystore") {
38 37
             keyAlias = "xinghuo"
@@ -41,7 +40,10 @@ android {
41 40
             storePassword = "xhkjedu"
42 41
         }
43 42
     }
44
-
43
+    buildFeatures {
44
+        compose = true
45
+        buildConfig=true
46
+    }
45 47
     buildTypes {
46 48
      /*   release {
47 49
             isMinifyEnabled = false
@@ -58,6 +60,7 @@ android {
58 60
                 "proguard-rules.pro"
59 61
             )
60 62
             signingConfig=signConfig
63
+            buildConfigField("boolean", "IS_DEBUG", "false")
61 64
         }
62 65
         getByName("debug") {
63 66
             isMinifyEnabled = false
@@ -66,6 +69,7 @@ android {
66 69
                 "proguard-rules.pro"
67 70
             )
68 71
             signingConfig=signConfig
72
+            buildConfigField("boolean", "IS_DEBUG", "true")
69 73
         }
70 74
     }
71 75
     compileOptions {
@@ -75,9 +79,7 @@ android {
75 79
     kotlinOptions {
76 80
         jvmTarget = "1.8"
77 81
     }
78
-    buildFeatures {
79
-        compose = true
80
-    }
82
+
81 83
     composeOptions {
82 84
         kotlinCompilerExtensionVersion = "1.4.3"
83 85
     }

Loading…
Cancel
Save