更新gradle版本

This commit is contained in:
TonyJiangWJ 2022-02-27 23:40:34 +08:00
parent 848bcfab2d
commit d1896a0893
10 changed files with 21 additions and 24 deletions

View File

@ -67,11 +67,6 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
encoding = 'utf-8'
}
lintOptions {
disable 'MissingTranslation'
disable 'ExtraTranslation'
abortOnError false
}
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.1'
@ -108,6 +103,10 @@ android {
buildConfigField "String", "CHANNEL", '"coolapk"'
}
}
lint {
abortOnError false
disable 'MissingTranslation', 'ExtraTranslation'
}
// TensorFlow
// aaptOptions {
// noCompress "tflite"

View File

@ -25,14 +25,14 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
abortOnError false
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
lint {
abortOnError false
}
}
repositories {

View File

@ -23,7 +23,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
lint {
abortOnError false
}

View File

@ -14,7 +14,7 @@ buildscript {
maven { url "https://maven.aliyun.com/repository/public" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.1'
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'

View File

@ -20,7 +20,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
lint {
abortOnError false
}

View File

@ -15,12 +15,6 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
lintOptions {
disable 'MissingTranslation'
disable 'ExtraTranslation'
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
@ -56,6 +50,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lint {
abortOnError false
disable 'MissingTranslation', 'ExtraTranslation'
}
}
def buildApkPluginForAbi(File pluginProjectDir, String abi) {

View File

@ -19,7 +19,7 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
lint {
abortOnError false
}
}

View File

@ -13,11 +13,11 @@ android {
minifyEnabled false
}
}
lintOptions {
lint {
abortOnError false
}
}

View File

@ -15,11 +15,11 @@ android {
minifyEnabled false
}
}
lintOptions {
lint {
abortOnError false
}
}

View File

@ -13,10 +13,10 @@ android {
minifyEnabled false
}
}
lintOptions {
lint {
abortOnError false
}
}