|
|
|
@ -100,11 +100,13 @@ android { |
|
|
|
|
app { |
|
|
|
|
dimension "mode" |
|
|
|
|
manifestPlaceholders.put("APP_CHANNEL_VALUE", "app") |
|
|
|
|
buildConfigField "boolean", "isGoogle", "false" |
|
|
|
|
} |
|
|
|
|
google { |
|
|
|
|
dimension "mode" |
|
|
|
|
applicationId "io.legado.play" |
|
|
|
|
manifestPlaceholders.put("APP_CHANNEL_VALUE", "google") |
|
|
|
|
buildConfigField "boolean", "isGoogle", "true" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
compileOptions { |
|
|
|
@ -130,7 +132,7 @@ android { |
|
|
|
|
dependencies { |
|
|
|
|
compileOnly "com.android.tools.build:gradle:$agp_version" |
|
|
|
|
//noinspection GradleDependency,GradlePackageUpdate |
|
|
|
|
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.2.2') |
|
|
|
|
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:2.0.0') |
|
|
|
|
testImplementation('junit:junit:4.13.2') |
|
|
|
|
androidTestImplementation('androidx.test:runner:1.5.2') |
|
|
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.5.1') |
|
|
|
|