Results 43 comments of

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, ![image](https://user-images.githubusercontent.com/58068445/110076199-10dbd500-7dbf-11eb-89e8-2ea190eac3ed.png) > 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 ![image](https://user-images.githubusercontent.com/58068445/95971180-7268ca80-0e43-11eb-93fe-99d16a278fe8.png) 2.settings.gradle.kts ![image](https://user-images.githubusercontent.com/58068445/95971217-7e548c80-0e43-11eb-8c98-148d4332abb0.png) 3.app/build.gradle.kts ![image](https://user-images.githubusercontent.com/58068445/95971077-4c432a80-0e43-11eb-92e3-30258252454e.png) 4.versions.properties ![image](https://user-images.githubusercontent.com/58068445/95970791-f2426500-0e42-11eb-9d57-2bf25bec681d.png)...

> @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...