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

Loading…
Cancel
Save