茶
茶
And I would like to add that in the process, I also found that this error would also occur if `context-receivers` was enabled for the plugin, even if I used...
@JonForShort Sure,  > Failed to transform appcompat-1.2.0.aar (androidx.appcompat:appcompat:1.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: /root/.gradle/caches/transforms-3/d538f9cc37ba3fa55586e346f1fe2e51/transformed/appcompat-1.2.0. > Android resource compilation failed /root/.gradle/daemon/6.8.2/aapt2: AAPT: compile [options] -o...
All kapt dependencies are equally unresolvable, including `Square.moshi.kotlinCodegen` > Couldn't resolve version for ModuleId(group=com.squareup.moshi, name=moshi-kotlin-codegen)
@LouisCAD Yes, I completely reproduced this problem after creating a new project. It will not write kapt dependencies to the `versions.properties` file 1.build.gradle.kts  2.settings.gradle.kts  3.app/build.gradle.kts  4.versions.properties ...
> @oh-Rin And if you add them manually? Add dependency and version to versions.properties file?
> Can you try with this project and see what are the Gradle config differences that might be at play? > https://github.com/LouisCAD/kotlin-libraries-playground I changed the refreshVersions version of this library...
@LouisCAD I probably understand that if the dependency of `net.ltgt.gradle.incap:incap-processor:_` must be import with `dependencies.implementation()`. But if use `dependencies.kapt()` to import and sync the project, the version will not be...
> Again, I'm asking this question @oh-Rin. Sorry, I found no problem with `com.squareup.moshi:moshi-kotlin-codegen:_`, but there are problems with other kapt dependencies, e.g `net.ltgt.gradle.incap:incap-processor:_`
Sorry, it didn’t fix this problem, maybe the previous issue was a bit misleading, I’ll re-explain this problem now. 1. Cloned the https://github.com/LouisCAD/kotlin-libraries-playground project 2. Wrote `kapt("net.ltgt.gradle.incap:incap-processor:_ ")` to [kotlin-codegen/build.gradle.kts](https://github.com/LouisCAD/kotlin-libraries-playground/blob/main/kotlin-codegen/build.gradle.kts)...
In addition, I provide a piece of information that may help solve this problem. I found that if I use `implementation` instead of `kapt` to import dependencies, it will get...