JavaJaxRS.resteasy.eap.gradle.mustache Maven / Gradle / Ivy
apply plugin: 'war'
project.version = "{{artifactVersion}}"
project.group = "{{groupId}}"
repositories {
maven { url "https://repo1.maven.org/maven2" }
}
dependencies {
providedCompile 'org.jboss.resteasy:resteasy-jaxrs:3.0.11.Final'
providedCompile 'org.jboss.resteasy:jaxrs-api:3.0.11.Final'
providedCompile('org.jboss.resteasy:resteasy-validator-provider-11:3.0.11.Final') {
exclude group: "javax.validation", module: "validation-api"
}
providedCompile 'org.jboss.resteasy:resteasy-multipart-provider:3.0.11.Final'
providedCompile 'jakarta.annotation:jakarta.annotation-api:1.3.5'
providedCompile 'org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:1.0.0.Final'
compile 'org.jboss.resteasy:resteasy-jackson2-provider:3.0.11.Final'
{{#useBeanValidation}}
providedCompile 'jakarta.validation:jakarta.validation-api:2.0.2'
{{/useBeanValidation}}
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.9'
testCompile 'junit:junit:4.13.2',
'org.hamcrest:hamcrest-core:1.3'
}
sourceSets {
main {
java {
srcDir 'src/gen/java'
}
}
}