blob: 43a582df646edb496788df9abb0b499d8bcdee69 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.13.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.13.0-alpha01)" variant="all" version="8.13.0-alpha01">
<issue
id="EagerGradleConfiguration"
message="Avoid using method get"
errorLine1=" task.jars.from(jar.get().archiveFile)"
errorLine2=" ~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/DexInspectorTask.kt"/>
</issue>
<issue
id="EagerGradleConfiguration"
message="Use register instead of create"
errorLine1=" project.configurations.create(&quot;publishInspector&quot;) {"
errorLine2=" ~~~~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/InspectionPlugin.kt"/>
</issue>
<issue
id="EagerGradleConfiguration"
message="Use register instead of create"
errorLine1=" project.configurations.create(&quot;publishNonDexedInspector&quot;) {"
errorLine2=" ~~~~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/InspectionPlugin.kt"/>
</issue>
<issue
id="EagerGradleConfiguration"
message="Use register instead of create"
errorLine1=" project.configurations.create(EXPORT_INSPECTOR_DEPENDENCIES) {"
errorLine2=" ~~~~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/InspectionPlugin.kt"/>
</issue>
<issue
id="EagerGradleConfiguration"
message="Use register instead of create"
errorLine1=" libraryProject.configurations.create(IMPORT_INSPECTOR_DEPENDENCIES) {"
errorLine2=" ~~~~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/InspectionPlugin.kt"/>
</issue>
<issue
id="EagerGradleConfiguration"
message="Use register instead of create"
errorLine1=" configurations.create(&quot;consumeInspector&quot;) {"
errorLine2=" ~~~~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/InspectionPlugin.kt"/>
</issue>
<issue
id="EagerGradleConfiguration"
message="Use register instead of create"
errorLine1=" configurations.create(&quot;consumeNonDexedInspector&quot;) {"
errorLine2=" ~~~~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/InspectionPlugin.kt"/>
</issue>
<issue
id="EagerGradleConfiguration"
message="Avoid using method get"
errorLine1=" val fileTree = project.fileTree(zipTask.get().destinationDir)"
errorLine2=" ~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/ShadowDependenciesTask.kt"/>
</issue>
<issue
id="EagerGradleConfiguration"
message="Avoid using method get"
errorLine1=" it.from(versionTask.get().outputDir)"
errorLine2=" ~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/ShadowDependenciesTask.kt"/>
</issue>
<issue
id="EagerGradleConfiguration"
message="Avoid using method get"
errorLine1=" it.from(versionTask.get().outputDir)"
errorLine2=" ~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/ShadowDependenciesTask.kt"/>
</issue>
<issue
id="WithPluginClasspathUsage"
message="Avoid usage of GradleRunner#withPluginClasspath, which is broken. Instead use something like https://github.com/autonomousapps/dependency-analysis-gradle-plugin/tree/main/testkit#gradle-testkit-support-plugin"
errorLine1=" GradleRunner.create().withProjectDir(projectSetup.rootDir).withPluginClasspath()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/kotlin/androidx/inspection/gradle/InspectionPluginTest.kt"/>
</issue>
</issues>