Skip to content
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 build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ plugins {
// Adding plugins used in multiple places to the classpath for centralized version control
id("com.gradleup.shadow") version "8.3.9" apply false
id("org.jetbrains.dokka") version "1.9.20" apply false
id("com.android.lint") version "8.10.0" apply false
id("com.android.lint") version "8.13.0" apply false
}

nexusPublishing {
Expand Down
116 changes: 25 additions & 91 deletions 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.10.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.10.0)" variant="all" version="8.10.0">
<issues format="6" by="lint 8.13.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.13.0)" variant="all" version="8.13.0">

<issue
id="EagerGradleConfiguration"
Expand All @@ -8,18 +8,7 @@
errorLine2=" ~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/AndroidPluginIntegration.kt"
line="89"
column="62"/>
</issue>

<issue
id="EagerGradleConfiguration"
message="Avoid using method get"
errorLine1=" val destinationProperty = (kaptProvider?.get() as? KaptTask)?.destinationDir"
errorLine2=" ~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/AndroidPluginIntegration.kt"
line="104"
line="109"
column="62"/>
</issue>

Expand All @@ -30,7 +19,7 @@
errorLine2=" ~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspAATask.kt"
line="224"
line="226"
column="59"/>
</issue>

Expand All @@ -41,7 +30,7 @@
errorLine2=" ~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspAATask.kt"
line="343"
line="349"
column="68"/>
</issue>

Expand All @@ -52,7 +41,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspConfigurations.kt"
line="27"
line="28"
column="62"/>
</issue>

Expand All @@ -63,7 +52,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspConfigurations.kt"
line="46"
line="47"
column="39"/>
</issue>

Expand All @@ -74,7 +63,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspConfigurations.kt"
line="121"
line="122"
column="50"/>
</issue>

Expand All @@ -85,7 +74,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="296"
line="157"
column="36"/>
</issue>

Expand All @@ -96,7 +85,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="315"
line="175"
column="54"/>
</issue>

Expand All @@ -107,51 +96,18 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="327"
line="183"
column="67"/>
</issue>

<issue
id="EagerGradleConfiguration"
message="Avoid using method get"
errorLine1=" val kotlinCompileTask = kotlinCompileProvider.get()"
errorLine2=" ~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="383"
column="63"/>
</issue>

<issue
id="EagerGradleConfiguration"
message="Avoid using method get"
errorLine1=" kotlinCompileProvider.get().libraries.filter {"
errorLine2=" ~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="430"
column="51"/>
</issue>

<issue
id="EagerGradleConfiguration"
message="Avoid using method get"
errorLine1=" val kotlinCompileTask = kotlinCompileProvider.get() as KotlinNativeCompile"
errorLine2=" ~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="592"
column="75"/>
</issue>

<issue
id="FilePropertyDetector"
message="`Property&lt;File>` is discouraged. Use `RegularFileProperty` or `DirectoryProperty`."
errorLine1=" abstract val jdkHome: Property&lt;File>"
errorLine2=" ~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspAATask.kt"
line="401"
line="407"
column="18"/>
</issue>

Expand All @@ -162,7 +118,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspAATask.kt"
line="408"
line="414"
column="18"/>
</issue>

Expand All @@ -173,7 +129,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/AndroidPluginIntegration.kt"
line="31"
line="35"
column="1"/>
</issue>

Expand All @@ -184,7 +140,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="45"
line="40"
column="1"/>
</issue>

Expand All @@ -195,7 +151,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="46"
line="41"
column="1"/>
</issue>

Expand All @@ -206,7 +162,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="47"
line="42"
column="1"/>
</issue>

Expand All @@ -217,7 +173,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="48"
line="43"
column="1"/>
</issue>

Expand All @@ -228,7 +184,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="49"
line="44"
column="1"/>
</issue>

Expand All @@ -239,7 +195,7 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="50"
line="45"
column="1"/>
</issue>

Expand All @@ -250,7 +206,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="774"
line="328"
column="26"/>
</issue>

Expand All @@ -261,7 +217,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="789"
line="343"
column="9"/>
</issue>

Expand All @@ -272,7 +228,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="793"
line="347"
column="9"/>
</issue>

Expand All @@ -283,40 +239,18 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="801"
line="355"
column="29"/>
</issue>

<issue
id="InternalKgpApiUsage"
message="Avoid using internal Kotlin Gradle Plugin APIs"
errorLine1=" return if (this is KaptClasspathChanges.Known) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="820"
column="24"/>
</issue>

<issue
id="InternalKgpApiUsage"
message="Avoid using internal Kotlin Gradle Plugin APIs (field names from org.jetbrains.kotlin.gradle.internal.kapt.incremental.KaptClasspathChanges.Known)"
errorLine1=" this.names.map { it.replace(&apos;/&apos;, &apos;.&apos;).replace(&apos;$&apos;, &apos;.&apos;) }.ifNotEmpty {"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="821"
column="9"/>
</issue>

<issue
id="InternalKgpApiUsage"
message="Avoid using internal Kotlin Gradle Plugin APIs"
errorLine1=" return if (classpathChanges is KaptClasspathChanges.Known) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="915"
line="396"
column="36"/>
</issue>

Expand All @@ -327,7 +261,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt"
line="916"
line="397"
column="9"/>
</issue>

Expand Down
2 changes: 0 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ kotlin.jvm.target.validation.mode=warning
# Build or runtime dependencies of this project
buildKotlinVersion=2.2.10
buildKspVersion=2.2.10-2.0.2

android.lint.useK2Uast=true
Loading