Skip to content

Commit

Permalink
Update dependency androidx.lint:lint-gradle to v1.0.0-alpha03 (#1101)
Browse files Browse the repository at this point in the history
* Update dependency androidx.lint:lint-gradle to v1.0.0-alpha03

* Use org.gradle.api.Project.files(java.lang.Object...)

* Update baseline

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Goooler <[email protected]>
  • Loading branch information
renovate[bot] and Goooler authored Dec 12, 2024
1 parent e5ff03c commit 126938b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plexus-utils = "org.codehaus.plexus:plexus-utils:4.0.2"
plexus-xml = "org.codehaus.plexus:plexus-xml:4.0.4"
xmlunit = "org.xmlunit:xmlunit-legacy:2.10.0"

androidx-gradlePluginLints = "androidx.lint:lint-gradle:1.0.0-alpha02"
androidx-gradlePluginLints = "androidx.lint:lint-gradle:1.0.0-alpha03"
assertk-lint = "com.jzbrooks:assertk-lint:1.3.0"
# Dummy to get renovate updates, the version is used in rootProject build.gradle with spotless.
ktlint = "com.pinterest.ktlint:ktlint-cli:1.5.0"
Expand Down
12 changes: 6 additions & 6 deletions 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.7.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.7.2)" variant="all" version="8.7.2">
<issues format="6" by="lint 8.7.3" type="baseline" client="gradle" dependencies="false" name="AGP (8.7.3)" variant="all" version="8.7.3">

<issue
id="InternalGradleApiUsage"
Expand Down Expand Up @@ -107,7 +107,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
line="25"
line="30"
column="1"/>
</issue>

Expand All @@ -118,7 +118,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
line="26"
line="31"
column="1"/>
</issue>

Expand All @@ -129,7 +129,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
line="27"
line="32"
column="1"/>
</issue>

Expand All @@ -140,7 +140,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt"
line="28"
line="33"
column="1"/>
</issue>

Expand All @@ -151,7 +151,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/Utils.kt"
line="8"
line="11"
column="1"/>
</issue>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public abstract class ShadowJavaPlugin @Inject constructor(
@Suppress("EagerGradleConfiguration")
shadow.manifest.inheritFrom(jarTask.get().manifest)
val attrProvider = jarTask.map { it.manifest.attributes["Class-Path"]?.toString().orEmpty() }
val files = project.objects.fileCollection().from(shadowConfiguration)
val files = project.files(shadowConfiguration)
shadow.doFirst {
if (!files.isEmpty) {
val attrs = listOf(attrProvider.getOrElse("")) + files.map { it.name }
Expand Down

0 comments on commit 126938b

Please sign in to comment.