Hello everyone! I have a Kotlin DSL project using ...
# gradle
x
Hello everyone! I have a Kotlin DSL project using Gradle
5.0
and Kotlin
1.3.11
. As part of the upgrade I did replace the
io.spring.dependency-management
for the built-in BOM support, so right now the dependency management for Micronaut looks like:
implementation(platform("io.micronaut:micronaut-bom:1.0.1"))
. I'm also using
org.jetbrains.kotlin.kapt
and there is no way I can build the project after the upgrade, I'm always getting this error:
Copy code
> Task :discoverMainScriptsExtensions
> Task :kaptGenerateStubsKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':kaptGenerateStubsKotlin'.
> Could not resolve all files for configuration ':kapt'.
   > Could not find io.micronaut:micronaut-inject-java:.
     Required by:
         project :