https://kotlinlang.org logo
g

GauthierPLM

07/01/2019, 3:27 AM
Alors, I used the build.gradle.kts generated by Spring Intializr and I am trying to convert it. How could I convert this piece of code so call to
developmentOnly()
and
annotationProcessor()
work?
Copy code
val developmentOnly by configurations.creating
            configurations {
                runtimeClasspath {
                    extendsFrom(developmentOnly)
                }
                compileOnly {
                    extendsFrom(annotationProcessor.get())
                }
            }