Skip to content

Commit 5e89145

Browse files
author
Gopalakrishnan Iyer
committed
Upgrade AGP, Gradle and Kotlin
1 parent 05f4046 commit 5e89145

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

app/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ android {
6969
dimension = "version"
7070
}
7171
}
72+
lint {
73+
baseline = file("lint-baseline.xml")
74+
}
7275
}
7376

7477
dependencies {

build.gradle.kts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
buildscript {
22
extra.apply {
3-
set("kotlin_version", "1.9.22")
3+
set("kotlin_version", "2.1.0")
44
}
55
repositories {
6-
google()
6+
google {
7+
content {
8+
includeGroupByRegex("com\\.android.*")
9+
includeGroupByRegex("com\\.google.*")
10+
includeGroupByRegex("androidx.*")
11+
}
12+
}
713
mavenCentral()
814
}
915
dependencies {
10-
classpath("com.android.tools.build:gradle:8.7.3")
16+
classpath("com.android.tools.build:gradle:8.8.0")
1117
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${rootProject.extra["kotlin_version"]}")
1218

1319
// NOTE: Do not place your application dependencies here; they belong

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Mon Oct 21 22:01:46 CDT 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
include(":app")
2-
rootProject.name = "Watomatic"
2+
rootProject.name = "Watomatic"

0 commit comments

Comments
 (0)