Skip to content

Commit 4c72ea2

Browse files
authored
ANDROID-16633 Update AGP (#452)
* ANDROID-16633 make * Add custom lint config * Remove lint custom and use default
1 parent 15ab6cc commit 4c72ea2

File tree

11 files changed

+35
-7
lines changed

11 files changed

+35
-7
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'com.android.application'
2+
alias libs.plugins.com.android.application
33
id 'org.jetbrains.kotlin.android'
44
}
55

app/lint.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<issue id="OldTargetApi" severity="ignore" />
66
<issue id="MonochromeLauncherIcon" severity="ignore" />
77
<issue id="GradleDependency" severity="ignore" />
8+
<issue id="AndroidGradlePluginVersion" severity="ignore" />
89

910
<!-- Required for firebase distribution tracks, nodpi assets should be included also. -->
1011
<issue id="UnusedResources">
@@ -15,4 +16,6 @@
1516
<issue id="IconLauncherShape">
1617
<ignore path="src/main/res/mipmap-nodpi/ic_launcher*.png" />
1718
</issue>
19+
<issue id="UseTomlInstead" severity="ignore" />
20+
1821
</lint>

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ buildscript {
2222
}
2323
}
2424
dependencies {
25-
classpath "com.android.tools.build:gradle:8.9.3"
2625
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2726
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detekt_version"
2827
}
@@ -33,6 +32,9 @@ plugins {
3332
id 'org.jetbrains.kotlin.plugin.compose' version "$kotlin_version" apply false
3433
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0' apply false
3534
id "io.github.takahirom.roborazzi" version '1.26.0' apply false
35+
alias libs.plugins.com.android.application apply false
36+
alias libs.plugins.com.android.library apply false
37+
3638
id "io.gitlab.arturbosch.detekt" version '1.23.7'
3739
}
3840

catalog/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'com.android.library'
2+
alias libs.plugins.com.android.library
33
id 'org.jetbrains.kotlin.android'
44
id 'kotlin-kapt'
55
id 'maven-publish'

catalog/lint.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@
2828
</issue>
2929
<issue id="OldTargetApi" severity="ignore" />
3030
<issue id="GradleDependency" severity="ignore" />
31+
<issue id="UseTomlInstead" severity="ignore" />
32+
3133
</lint>

gradle/libs.versions.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[versions]
2+
android-gradle-plugin = "8.11.1"
3+
4+
[libraries]
5+
6+
[plugins]
7+
com-android-application = { id = "com.android.application", version.ref = "android-gradle-plugin" }
8+
com-android-library = { id = "com.android.library", version.ref = "android-gradle-plugin" }
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Mar 07 14:21:40 CET 2025
1+
#Fri Aug 08 12:17:49 CEST 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

library-test-utils/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'com.android.library'
2+
alias libs.plugins.com.android.library
33
id 'org.jetbrains.kotlin.android'
44
id 'org.jetbrains.kotlin.plugin.compose'
55
}

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'com.android.library'
2+
alias libs.plugins.com.android.library
33
id 'org.jetbrains.kotlin.android'
44
id 'kotlin-kapt'
55
id 'maven-publish'

library/lint.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@
99
</issue>
1010
<issue id="OldTargetApi" severity="ignore" />
1111
<issue id="GradleDependency" severity="ignore" />
12+
<issue id="UseTomlInstead" severity="ignore" />
13+
1214
</lint>

0 commit comments

Comments
 (0)