blob: c6934fe2a29cd64523e1288190f850c6518178e0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.9.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.9.0-alpha01)" variant="all" version="8.9.0-alpha01">
<issue
id="EagerGradleConfiguration"
message="Avoid using method get"
errorLine1=" it.jars.from(jar.get().archiveFile)"
errorLine2=" ~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/DexInspectorTask.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="GradleProjectIsolation"
message="Avoid using method findProject"
errorLine1=" val inspectorProject = libraryProject.rootProject.findProject(inspectorProjectPath)"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/InspectionPlugin.kt"/>
</issue>
<issue
id="GradleProjectIsolation"
message="Use isolated.rootProject instead of getRootProject"
errorLine1=" val inspectorProject = libraryProject.rootProject.findProject(inspectorProjectPath)"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/kotlin/androidx/inspection/gradle/InspectionPlugin.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>