@@ -12,8 +12,6 @@ plugins {
1212 id(" com.google.devtools.ksp" )
1313}
1414
15- // val SupportLibVersion = "28.0.0"
16-
1715val propFile: File = File (" E:/资料/jks/autojs-app/sign.properties" );
1816val properties = Properties ()
1917if (propFile.exists()) {
@@ -22,12 +20,6 @@ if (propFile.exists()) {
2220 }
2321}
2422
25- // configurations.all {
26- // resolutionStrategy {
27- // force("com.android.support:appcompat-v7:${SupportLibVersion}")
28- // force("com.android.support:support-v4:${SupportLibVersion}")
29- // }
30- // }
3123android {
3224 compileSdk = versions.compile
3325 defaultConfig {
@@ -45,9 +37,6 @@ android {
4537 arguments[" androidManifestFile" ] = " $projectDir /src/main/AndroidManifest.xml"
4638 }
4739 }
48- ndk {
49- abiFilters.addAll(listOf (" arm64-v8a" , " armeabi-v7a" ))
50- }
5140 }
5241 buildFeatures {
5342 compose = true
@@ -76,24 +65,18 @@ android {
7665 }
7766 }
7867 splits {
79-
8068 // Configures multiple APKs based on ABI.
8169 abi {
82-
8370 // Enables building multiple APKs per ABI.
8471 isEnable = true
85-
8672 // By default all ABIs are included, so use reset() and include to specify that we only
8773 // want APKs for x86 and x86_64.
88-
8974 // Resets the list of ABIs that Gradle should create APKs for to none.
9075 reset()
91-
9276 // Specifies a list of ABIs that Gradle should create APKs for.
93- include(" armeabi-v7a" , " arm64-v8a" )
94-
77+ include( " arm64-v8a" )
9578 // Specifies that we do not want to also generate a universal APK that includes all ABIs.
96- isUniversalApk = true
79+ isUniversalApk = false
9780 }
9881 }
9982 buildTypes {
@@ -131,23 +114,20 @@ android {
131114 versionCode = versions.appVersionCode
132115 versionName = versions.appVersionName
133116 buildConfigField(" String" , " CHANNEL" , " \" common\" " )
134- // buildConfigField("String", "APPID", "\"?id=21\"")
135117 manifestPlaceholders.putAll(mapOf (" appName" to " @string/app_name" ))
136118 }
137- create(" v6 " ) {
138- applicationIdSuffix = " .v6 "
119+ create(" v7 " ) {
120+ applicationIdSuffix = " .v7 "
139121 versionCode = versions.devVersionCode
140122 versionName = versions.devVersionName
141- buildConfigField(" String" , " CHANNEL" , " \" v6\" " )
142- // buildConfigField("String", "APPID", "\"?id=23\"")
143- manifestPlaceholders.putAll(mapOf (" appName" to " Autox.js v6" ))
123+ buildConfigField(" String" , " CHANNEL" , " \" v7\" " )
124+ manifestPlaceholders.putAll(mapOf (" appName" to " Autox.js v7" ))
144125 }
145126 }
146127
147128 sourceSets {
148129 getByName(" main" ) {
149130 res.srcDirs(" src/main/res" , " src/main/res-i18n" )
150- jniLibs.srcDirs(" /libs" )
151131 }
152132 }
153133
0 commit comments