handlebars.JavaJaxRS.resteasy.gradle.mustache Maven / Gradle / Ivy
apply plugin: 'war'
project.version = "{{artifactVersion}}"
project.group = "{{groupId}}"
repositories {
mavenCentral()
}
dependencies {
providedCompile 'org.jboss.resteasy:resteasy-jaxrs:3.15.6.Final'
providedCompile 'org.jboss.resteasy:jaxrs-api:3.0.12.Final'
providedCompile 'org.jboss.resteasy:resteasy-validator-provider-11:3.0.11.Final'
providedCompile 'org.jboss.resteasy:resteasy-multipart-provider:3.15.6.Final'
providedCompile 'jakarta.annotation:jakarta.annotation-api:{{#jakarta}}2.1.1{{/jakarta}}{{^jakarta}}1.3.5{{/jakarta}}'
providedCompile 'javax:javaee-api:7.0'
providedCompile 'org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:1.0.0.Final'
{{#useOas2}}
compile 'io.swagger:swagger-annotations:1.5.10'
{{/useOas2}}
{{^useOas2}}
compile 'io.swagger.core.v3:swagger-annotations:2.0.0'
{{/useOas2}}
compile 'org.jboss.resteasy:resteasy-jackson2-provider:3.15.6.Final'
compile 'org.apache.httpcomponents:httpclient:4.5.10'
{{#useBeanValidation}}
providedCompile 'jakarta.validation:jakarta.validation-api:{{#jakarta}}3.0.2{{/jakarta}}{{^jakarta}}2.0.2{{/jakarta}}'
{{/useBeanValidation}}
{{^java8}}
compile 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.10.1'
compile 'joda-time:joda-time:2.7'
{{/java8}}
{{#java8}}
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.1'
{{/java8}}
compile 'com.fasterxml.jackson.core:jackson-databind:2.10.1'
//TODO: swaggerFeature
{{#useOas2}}
compile 'io.swagger:swagger-jaxrs:1.5.12'
{{/useOas2}}
{{^useOas2}}
compile 'io.swagger.core.v3:swagger-jaxrs2:2.0.9'
{{/useOas2}}
testCompile 'junit:junit:4.12',
'org.hamcrest:hamcrest-core:1.3'
}
sourceSets {
main {
java {
srcDir 'src/gen/java'
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy