update gradle to new format
turn on nonTransitiveRClass
This commit is contained in:
+14
-8
@@ -1,9 +1,11 @@
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-parcelize'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
apply plugin: 'de.timfreiheit.resourceplaceholders'
|
||||
apply plugin: 'com.google.gms.google-services'
|
||||
plugins {
|
||||
id "com.android.application"
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
id 'kotlin-parcelize'
|
||||
id 'kotlin-kapt'
|
||||
id "de.timfreiheit.resourceplaceholders"
|
||||
id "com.google.gms.google-services"
|
||||
}
|
||||
apply from: 'download.gradle'
|
||||
|
||||
static def releaseTime() {
|
||||
@@ -16,11 +18,15 @@ def gitCommits = Integer.parseInt('git rev-list HEAD --count'.execute().text.tri
|
||||
|
||||
android {
|
||||
compileSdkVersion 32
|
||||
buildToolsVersion '32.0.0'
|
||||
buildToolsVersion "32.0.0"
|
||||
namespace 'io.legado.app'
|
||||
kotlinOptions {
|
||||
jvmTarget = "11"
|
||||
}
|
||||
namespace 'io.legado.app'
|
||||
lintOptions{
|
||||
checkDependencies true
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
if (project.hasProperty("RELEASE_STORE_FILE")) {
|
||||
myConfig {
|
||||
|
||||
Reference in New Issue
Block a user