Skip to content

Commit

Permalink
Bump AGP from 4.2.2 to 7.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqua committed Sep 3, 2021
1 parent c884ada commit a58a800
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
val kotlinVersion = "1.5.0"
id("com.android.application") version ("4.2.2") apply (false)
id("com.android.application") version ("7.0.2") apply (false)
id("org.jetbrains.kotlin.android") version kotlinVersion apply (false)
id("org.jetbrains.kotlin.kapt") version kotlinVersion apply (false)
id("org.jetbrains.kotlin.android.extensions") version kotlinVersion apply (false)
Expand Down
20 changes: 9 additions & 11 deletions uhabits-android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


/*
* Copyright (C) 2016-2021 Álinson Santos Xavier <[email protected]>
*
Expand Down Expand Up @@ -34,15 +32,15 @@ tasks.compileLint {

android {

compileSdkVersion(30)
compileSdk = 30

defaultConfig {
versionCode(20003)
versionName("2.0.3")
minSdkVersion(23)
targetSdkVersion(30)
applicationId("org.isoron.uhabits")
testInstrumentationRunner("androidx.test.runner.AndroidJUnitRunner")
versionCode = 20003
versionName = "2.0.3"
minSdk = 23
targetSdk = 30
applicationId = "org.isoron.uhabits"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

signingConfigs {
Expand All @@ -58,7 +56,7 @@ android {

buildTypes {
getByName("release") {
minifyEnabled(true)
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.txt")
if (signingConfigs.findByName("release") != null) {
signingConfig = signingConfigs.getByName("release")
Expand All @@ -70,7 +68,7 @@ android {
}
}

lintOptions {
lint {
isCheckReleaseBuilds = false
isAbortOnError = false
disable("GoogleAppIndexingWarning")
Expand Down
2 changes: 1 addition & 1 deletion uhabits-server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ plugins {
application {
group = "org.isoron.uhabits"
version = "0.0.1"
mainClassName = "io.ktor.server.netty.EngineMain"
mainClass.set("io.ktor.server.netty.EngineMain")
}

dependencies {
Expand Down

0 comments on commit a58a800

Please sign in to comment.