All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.micronaut.starter.feature.view.gradlePluginJTE.rocker.raw Maven / Gradle / Ivy

There is a newer version: 4.7.0
Show newest version
@import io.micronaut.starter.build.gradle.GradleDsl
@args(boolean patchKaptOutputs, GradleDsl dsl, String path)

jte {
@if(dsl == GradleDsl.KOTLIN) {
    sourceDirectory.set(file("src/main/jte").toPath())
}
@if(dsl == GradleDsl.GROOVY) {
    sourceDirectory = file("@path").toPath()
}
    generate()
}

// Gradle requires that generateJte is run before some tasks
tasks.configureEach {
    if (@if (patchKaptOutputs) {name == "kaptGenerateStubsKotlin" || }name == "inspectRuntimeClasspath") {
        mustRunAfter("generateJte")
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy