From eddfecdafd45e8a427ed1babf2addb377c2cb538 Mon Sep 17 00:00:00 2001 From: Matthias Raab Date: Wed, 21 Sep 2022 17:02:41 +0200 Subject: [PATCH] build: JDK to version 11 and extend memory, default dependencies updated --- gradle.properties | 1 + .../com/intershop/gradle/jaxb/JaxbPlugin.kt | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 gradle.properties diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..97d50eb --- /dev/null +++ b/gradle.properties @@ -0,0 +1 @@ +org.gradle.jvmargs=-XX:+UseConcMarkSweepGC -XX:MaxMetaspaceSize=3G -XX:-UseGCOverheadLimit -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 diff --git a/src/main/kotlin/com/intershop/gradle/jaxb/JaxbPlugin.kt b/src/main/kotlin/com/intershop/gradle/jaxb/JaxbPlugin.kt index 4b0a71b..fb585ae 100644 --- a/src/main/kotlin/com/intershop/gradle/jaxb/JaxbPlugin.kt +++ b/src/main/kotlin/com/intershop/gradle/jaxb/JaxbPlugin.kt @@ -169,14 +169,14 @@ open class JaxbPlugin: Plugin { .defaultDependencies { dependencies: DependencySet -> // this will be executed if configuration is empty val dependencyHandler = project.dependencies - dependencies.add(dependencyHandler.create("com.sun.xml.bind:jaxb-xjc:3.0.1")) - dependencies.add(dependencyHandler.create("com.sun.xml.bind:jaxb-jxc:3.0.1")) - dependencies.add(dependencyHandler.create("com.sun.xml.bind:jaxb-impl:3.0.1")) - dependencies.add(dependencyHandler.create("com.sun.xml.bind:jaxb-core:3.0.1")) - - dependencies.add(dependencyHandler.create("org.glassfish.jaxb:jaxb-runtime:3.0.1")) - dependencies.add(dependencyHandler.create("jakarta.xml.bind:jakarta.xml.bind-api:3.0.1")) - dependencies.add(dependencyHandler.create("jakarta.activation:jakarta.activation-api:2.0.1")) + dependencies.add(dependencyHandler.create("com.sun.xml.bind:jaxb-xjc:4.0.0")) + dependencies.add(dependencyHandler.create("com.sun.xml.bind:jaxb-jxc:4.0.0")) + dependencies.add(dependencyHandler.create("com.sun.xml.bind:jaxb-impl:4.0.0")) + dependencies.add(dependencyHandler.create("com.sun.xml.bind:jaxb-core:4.0.0")) + + dependencies.add(dependencyHandler.create("org.glassfish.jaxb:jaxb-runtime:4.0.0")) + dependencies.add(dependencyHandler.create("jakarta.xml.bind:jakarta.xml.bind-api:4.0.0")) + dependencies.add(dependencyHandler.create("jakarta.activation:jakarta.activation-api:2.1.0")) } project.configurations.maybeCreate(JaxbExtension.ADD_JAXB_CONFIGURATION_NAME)