Skip to content

Commit

Permalink
Update agp to v8.8.0 (#1171)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [com.android.lint](https://developer.android.com/studio/build)
([source](https://android.googlesource.com/platform/tools/base)) |
plugin | minor | `8.7.3` -> `8.8.0` |
| [com.android.tools.build:gradle](http://tools.android.com/)
([source](https://android.googlesource.com/platform/tools/base)) |
dependencies | minor | `8.7.3` -> `8.8.0` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDAuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEwMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: Zac Sweers <[email protected]>
  • Loading branch information
slack-oss-bot and ZacSweers authored Jan 24, 2025
1 parent a936b2d commit 2720ed0
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 24 deletions.
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>

0 comments on commit 2720ed0

Please sign in to comment.