Initial version to support Tomcat 9 (Servlet 4.0 spec), JavaEE (javax.* namespace) and Java 11 or higher

java11 java11-tomcat9
Brian Rosenberger 2024-07-06 17:45:36 +02:00
parent 6d85158246
commit 89748bb8dd
1 changed files with 18 additions and 4 deletions

View File

@ -8,11 +8,15 @@ repositories {
java { java {
toolchain { toolchain {
languageVersion = JavaLanguageVersion.of(8) languageVersion = JavaLanguageVersion.of(11)
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
} }
} }
project.version "2.0.2-SNAPSHOT" project.version "2.1.0-SNAPSHOT"
group "net.brutex.xservices" group "net.brutex.xservices"
publishing { publishing {
@ -72,6 +76,16 @@ dependencies {
compileOnly "javax.servlet:javax.servlet-api:4.0.1" compileOnly "javax.servlet:javax.servlet-api:4.0.1"
compileOnly "javax.ws.rs:javax.ws.rs-api:2.1.1" compileOnly "javax.ws.rs:javax.ws.rs-api:2.1.1"
compileOnly "jakarta.xml.bind:jakarta.xml.bind-api:2.3.3"
runtimeOnly "com.sun.xml.bind:jaxb-impl:2.3.3"
compileOnly "jakarta.jws:jakarta.jws-api:2.1.0"
compileOnly "jakarta.xml.ws:jakarta.xml.ws-api:2.3.3"
runtimeOnly "com.sun.xml.ws:jaxws-rt:2.3.3"
implementation "jakarta.annotation:jakarta.annotation-api:1.3.5"
implementation "org.apache.commons:commons-configuration2:2.9.0" implementation "org.apache.commons:commons-configuration2:2.9.0"
implementation "org.apache.commons:commons-lang3:3.12.0" implementation "org.apache.commons:commons-lang3:3.12.0"
implementation "commons-net:commons-net:3.9.0" implementation "commons-net:commons-net:3.9.0"
@ -92,8 +106,8 @@ dependencies {
implementation "org.quartz-scheduler:quartz:2.3.2" implementation "org.quartz-scheduler:quartz:2.3.2"
implementation "org.slf4j:slf4j-api:2.0.7" implementation "org.slf4j:slf4j-api:2.0.7"
runtimeOnly "ch.qos.logback:logback-core:1.3.8" runtimeOnly 'ch.qos.logback:logback-core:1.4.14'
runtimeOnly "ch.qos.logback:logback-classic:1.3.8" runtimeOnly 'ch.qos.logback:logback-classic:1.4.12'
//runtimeOnly "org.slf4j:slf4j-simple:2.0.7" //runtimeOnly "org.slf4j:slf4j-simple:2.0.7"
implementation "org.apache.ws.commons.axiom:axiom:1.2.22" implementation "org.apache.ws.commons.axiom:axiom:1.2.22"