1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

Tech | Update AGP to the latest version (#2069)

This commit is contained in:
Evgenii Kozlov 2022-01-27 22:55:44 +03:00 committed by GitHub
parent 2db338e2f6
commit c73819c0b5
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 13 additions and 32 deletions

View file

@ -37,16 +37,6 @@ android {
}
lintOptions {
quiet true
abortOnError false
ignoreWarnings true
disable 'InvalidPackage' //Some libraries have issues with this.
disable 'OldTargetApi' //Lint gives this warning but SDK 20 would be Android L Beta.
disable 'IconDensities' //For testing purpose. This is safe to remove.
disable 'IconMissingDensityFolder' //For testing purpose. This is safe to remove.
}
// signingConfigs {
// //For proper signing, use debuggable false for a build.
// release {
@ -124,6 +114,12 @@ android {
androidExtensions {
experimental = true
}
lint {
abortOnError false
disable 'InvalidPackage', 'OldTargetApi', 'IconDensities', 'IconMissingDensityFolder'
ignoreWarnings true
quiet true
}
}
dependencies {

View file

@ -21,7 +21,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'com.android.tools.build:gradle:7.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
classpath 'com.google.gms:google-services:4.3.8'

View file

@ -10,8 +10,6 @@ android {
defaultConfig {
minSdkVersion config["min_sdk"]
targetSdkVersion config["target_sdk"]
versionCode config["version_code"]
versionName config["version_name"]
testInstrumentationRunner config["test_runner"]
}

View file

@ -10,15 +10,10 @@ android {
defaultConfig {
minSdkVersion config["min_sdk"]
targetSdkVersion config["target_sdk"]
versionCode config["version_code"]
versionName config["version_name"]
testInstrumentationRunner config["test_runner"]
}
lintOptions {
abortOnError false
}
buildTypes {
release {
@ -70,6 +65,9 @@ android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11
}
lint {
abortOnError false
}
}
dependencies {

View file

@ -10,8 +10,6 @@ android {
defaultConfig {
minSdkVersion config["min_sdk"]
targetSdkVersion config["target_sdk"]
versionCode config["version_code"]
versionName config["version_name"]
testInstrumentationRunner config["test_runner"]
}

View file

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

View file

@ -10,8 +10,6 @@ android {
defaultConfig {
minSdkVersion config["min_sdk"]
targetSdkVersion config["target_sdk"]
versionCode config["version_code"]
versionName config["version_name"]
testInstrumentationRunner config["test_runner"]
}

View file

@ -10,8 +10,6 @@ android {
defaultConfig {
minSdkVersion config["min_sdk"]
targetSdkVersion config["target_sdk"]
versionCode config["version_code"]
versionName config["version_name"]
testInstrumentationRunner config["test_runner"]
}

View file

@ -11,8 +11,6 @@ android {
defaultConfig {
minSdkVersion config["min_sdk"]
targetSdkVersion config["target_sdk"]
versionCode config["version_code"]
versionName config["version_name"]
testInstrumentationRunner config["test_runner"]
}

View file

@ -48,11 +48,10 @@ android {
androidExtensions {
experimental = true
}
lintOptions {
// https://issuetracker.google.com/issues/169249668#comment8
lint {
disable 'NullSafeMutableLiveData'
}
}
dependencies {

View file

@ -10,8 +10,6 @@ android {
defaultConfig {
minSdkVersion config["min_sdk"]
targetSdkVersion config["target_sdk"]
versionCode config["version_code"]
versionName config["version_name"]
testInstrumentationRunner config["test_runner"]
}