Fixed
Status Update
Comments
ri...@google.com <ri...@google.com>
ga...@google.com <ga...@google.com> #2
Lint options:
lintOptions {
lintConfig = file('lint.xml')
abortOnError true
xmlReport true
htmlReport true
checkDependencies true
}
Also, our project has custom lint rules. Failure happens with a dependency of 26.6.3 and 27.0.0.
Is any way to downgrade lint runner? This problem is keeping us from using AGP 4.0
hu...@google.com <hu...@google.com> #3
Attached slightly different stacktrace for the same problem.
Wonder if disabling some lint rules could help to "fix" this problem, as it is also blocking for us 4.0 AGP upgrade.
Description
Kotlin Gradle plugin 1.8.0 was migrated to expose compiler options with Gradle properties API. This API prohibits inputs modification on Gradle execution phase.
kgpUtils.kt#addComposeArgsToKotlinCompile
kotlinOptions.freeCompilerArgs
in taskdoFirst
action.With KGP 1.8.0 this will produce warning message in build log and in next major versions it fill fail the build.