Zac Sweers
Zac Sweers
Otherwise the current impl will fail in KSP2 with ```kotlin Caused by: java.lang.NoClassDefFoundError: com/google/devtools/ksp/processing/impl/ResolverImpl at com.squareup.anvil.compiler.codegen.dagger.ProvidesMethodFactoryCodeGen$KspGenerator.processChecked(ProvidesMethodFactoryCodeGen.kt:118) at com.squareup.anvil.compiler.codegen.ksp.AnvilSymbolProcessor.process(AnvilSymbolProcessing.kt:31) ```
Kotlin DSL allows you to invoke via strings like this. It's a terrible API, but it's legal none-the-less ```kotlin dependencies { "implementation"(libs.moshi) } ```
Some dependences can include a trailing lambda to further configure the dependency ```kotlin implementation(libs.someExternalSdk) { artifact { name = "some-external-sdk" type = "aar" } } ```
The following build file results in a parse error ```kotlin import slack.gradle.Platforms plugins { alias(libs.plugins.slack.base) `java-platform` } val catalogExtension = extensions.findByType() ?: error("Could not find any version catalogs!") for (name...
While there are a number of mutations today for defining scenarios, we've found them unhelpful in some cases due to either being too trivial or too limiting. I'd like to...
Using this example, profiler fails to parse and edit the file ``` java.lang.IllegalArgumentException: Cannot parse source file /home/ubuntu/actions-runner/_work/.../src/main/res/values/integers.xml to apply changes at org.gradle.profiler.mutations.ApplyValueChangeToAndroidResourceFileMutator.applyChangeTo(ApplyValueChangeToAndroidResourceFileMutator.java:16) at org.gradle.profiler.mutations.AbstractFileChangeMutator.beforeBuild(AbstractFileChangeMutator.java:27) at org.gradle.profiler.CompositeBuildMutator.beforeBuild(CompositeBuildMutator.java:37) at org.gradle.profiler.CompositeBuildMutator.beforeBuild(CompositeBuildMutator.java:37) at...
**Is your feature request related to a problem? Please describe.** In some cases, android projects may use no android APIs/features. In these cases, these projects could be converted wholly to...