jaxb2 {
xjc {
'request-classes' {
basePackage = 'com.any.app.model.request'
schema = 'src/main/xsd/request.xsd'
}
}
}
I tried to make this work using kotlin dsl for gradle but ufortunately 'request-classes' can't be invoked as a function.
Trying other things like create("request-classes") {....} or register("request-classes") {....} doesn't work either. Can you provide a working example for kotlin dsl (build.gradle.kts)? Thanks in advance.
I tried to make this work using kotlin dsl for gradle but ufortunately 'request-classes' can't be invoked as a function.
Trying other things like create("request-classes") {....} or register("request-classes") {....} doesn't work either. Can you provide a working example for kotlin dsl (build.gradle.kts)? Thanks in advance.