kunfei 4 лет назад
Родитель
Сommit
7f04b203ca
2 измененных файлов с 3 добавлено и 5 удалено
  1. 3 4
      app/build.gradle
  2. 0 1
      epublib/build.gradle

+ 3 - 4
app/build.gradle

@@ -17,7 +17,6 @@ def gitCommits = Integer.parseInt('git rev-list HEAD --count'.execute().text.tri
 
 android {
     compileSdk 33
-    buildToolsVersion "33.0.0"
     namespace 'io.legado.app'
     kotlinOptions {
         jvmTarget = "11"
@@ -92,16 +91,16 @@ android {
         }
     }
 
-    flavorDimensions "mode"
+    flavorDimensions.add("mode")
     productFlavors {
         app {
             dimension "mode"
-            manifestPlaceholders = [APP_CHANNEL_VALUE: "app"]
+            manifestPlaceholders.put("APP_CHANNEL_VALUE", "app")
         }
         google {
             dimension "mode"
             applicationId "io.legado.play"
-            manifestPlaceholders = [APP_CHANNEL_VALUE: "google"]
+            manifestPlaceholders.put("APP_CHANNEL_VALUE", "google")
         }
     }
     compileOptions {

+ 0 - 1
epublib/build.gradle

@@ -4,7 +4,6 @@ plugins {
 
 android {
     compileSdk 33
-    //buildToolsVersion '32.0.0'
     namespace 'me.ag2s.epublib'
     defaultConfig {
         minSdk 21