I am trying to develop soap web services using Gradle with kotlin. But I am unable to get gradle jaxb2 plugin. I tried using gradle mentioned in spring.io site but getting issues in build.gradle.kts. Can anyone reply with gradle with kotlin exact plugin that performs same as maven plugin mention below.
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>xjc</id> <goals> <goal>xjc</goal> </goals> </execution> </executions> <configuration> <schemaDirectory>src/main/resources</schemaDirectory> <outputDirectory>src/main/java</outputDirectory> <clearOutputDir>false</clearOutputDir> </configuration> </plugin>
I need the same in Gradle Plugin in kotlin