Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update agp to v8.8.0 #1171

Merged
merged 4 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarni
android.experimental.lint.version

# Force use of the latest android lint version
android.experimental.lint.version=8.8.0-alpha01
android.experimental.lint.version=8.9.0-alpha02
android.experimental.lint.missingBaselineIsEmptyBaseline=true

# Disable noisy DAGP logs
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
agp = "8.7.3"
agp = "8.8.0"
agpAlpha = "8.9.0-beta01"
anvil = "0.4.1"
# Release notes: https://asm.ow2.io/versions.html
Expand Down Expand Up @@ -94,7 +94,7 @@ coroutines-core-ij = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core",
coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test" }
detekt = { module = "io.gitlab.arturbosch.detekt:detekt-core", version.ref = "detekt" }
develocity-agent-adapters = "com.gradle:develocity-gradle-plugin-adapters:1.1"
gradleLints = "androidx.lint:lint-gradle:1.0.0-alpha02"
gradleLints = "androidx.lint:lint-gradle:1.0.0-alpha03"
gradlePlugins-anvil = { module = "dev.zacsweers.anvil:gradle-plugin", version.ref = "anvil" }
gradlePlugins-bugsnag = { module = "com.bugsnag:bugsnag-android-gradle-plugin", version.ref = "bugsnagGradle" }
gradlePlugins-compose = { module = "org.jetbrains.compose:compose-gradle-plugin", version.ref = "compose-jb-stable" }
Expand Down
38 changes: 19 additions & 19 deletions platforms/gradle/foundry-gradle-plugin/lint-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.8.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.7.2)" variant="all" version="8.8.0-alpha01">
<issues format="6" by="lint 8.9.0-alpha02" type="baseline" client="gradle" dependencies="false" name="AGP (8.8.0)" variant="all" version="8.9.0-alpha02">

<issue
id="AvoidUsingNotNullOperator"
Expand Down Expand Up @@ -63,7 +63,7 @@
errorLine2=" ~~">
<location
file="src/main/kotlin/foundry/gradle/FoundryExtension.kt"
line="1142"
line="1146"
column="21"/>
</issue>

Expand All @@ -74,7 +74,7 @@
errorLine2=" ~~">
<location
file="src/main/kotlin/foundry/gradle/FoundryProperties.kt"
line="63"
line="71"
column="46"/>
</issue>

Expand All @@ -85,19 +85,19 @@
errorLine2=" ~~">
<location
file="src/main/kotlin/foundry/gradle/StandardProjectConfigurations.kt"
line="127"
line="131"
column="71"/>
</issue>

<issue
id="MoshiUsageNonMoshiClassPlatform"
message="Platform type &apos;Regex&apos; is not natively supported by Moshi."
errorLine1=" val removalPatterns: Set&lt;Regex>?,"
errorLine2=" ~~~~~~~~~~~">
id="MoshiUsageNonMoshiClassMap"
message="Concrete Map type &apos;RegexMap&apos; is not natively supported by Moshi."
errorLine1=" val replacementPatterns: RegexMap = RegexMap(),"
errorLine2=" ~~~~~~~~">
<location
file="src/main/kotlin/foundry/gradle/topography/models.kt"
line="53"
column="24"/>
file="src/main/kotlin/foundry/gradle/topography/ModuleFeature.kt"
line="26"
column="28"/>
</issue>

<issue
Expand Down Expand Up @@ -184,7 +184,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/foundry/gradle/FoundryProperties.kt"
line="830"
line="904"
column="39"/>
</issue>

Expand All @@ -195,7 +195,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/foundry/gradle/FoundryRootPlugin.kt"
line="67"
line="68"
column="32"/>
</issue>

Expand All @@ -206,7 +206,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/foundry/gradle/FoundryRootPlugin.kt"
line="445"
line="447"
column="14"/>
</issue>

Expand Down Expand Up @@ -272,7 +272,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/foundry/gradle/lint/LintTasks.kt"
line="339"
line="342"
column="20"/>
</issue>

Expand Down Expand Up @@ -393,7 +393,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/foundry/gradle/StandardProjectConfigurations.kt"
line="31"
line="32"
column="1"/>
</issue>

Expand All @@ -404,7 +404,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/foundry/gradle/tasks/TaskExtensions.kt"
line="20"
line="19"
column="1"/>
</issue>

Expand Down Expand Up @@ -470,7 +470,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/foundry/gradle/topography/ModuleTopographyTask.kt"
line="41"
line="49"
column="1"/>
</issue>

Expand Down Expand Up @@ -525,7 +525,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/kotlin/foundry/gradle/FoundryGradleUtil.kt"
line="257"
line="259"
column="9"/>
</issue>

Expand Down
26 changes: 24 additions & 2 deletions tools/foundry-common/lint-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.8.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.7.2)" variant="all" version="8.8.0-alpha01">
<issues format="6" by="lint 8.9.0-alpha02" type="baseline" client="gradle" dependencies="false" name="AGP (8.8.0)" variant="all" version="8.9.0-alpha02">

<issue
id="AvoidUsingNotNullOperator"
Expand All @@ -8,8 +8,30 @@
errorLine2=" ~~">
<location
file="src/main/kotlin/foundry/common/json/JsonTools.kt"
line="52"
line="57"
column="56"/>
</issue>

<issue
id="AvoidUsingNotNullOperator"
message="Avoid using the `!!` operator"
errorLine1=" return MOSHI.adapter&lt;T>().fromJsonValue(value)!!"
errorLine2=" ~~">
<location
file="src/main/kotlin/foundry/common/json/JsonTools.kt"
line="61"
column="51"/>
</issue>

<issue
id="AvoidUsingNotNullOperator"
message="Avoid using the `!!` operator"
errorLine1=" for ((key, value) in value!!) {"
errorLine2=" ~~">
<location
file="src/main/kotlin/foundry/common/json/JsonTools.kt"
line="177"
column="31"/>
</issue>

</issues>
Loading