diff --git a/README.asciidoc b/README.asciidoc index 9e5da28..5afd36c 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -1,5 +1,5 @@ = JAXB Gradle Plugin -:latestRevision: 5.0.0 +:latestRevision: 5.1.0 :toc: :icons: font diff --git a/build.gradle.kts b/build.gradle.kts index 97c0998..11a35b3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -111,17 +111,18 @@ tasks { this.javaLauncher.set( project.javaToolchains.launcherFor { languageVersion.set(JavaLanguageVersion.of(11)) }) - systemProperty("intershop.gradle.versions","6.8, 7.0.2") - if(project.hasProperty("repoURL") - && project.hasProperty("repoUser") - && project.hasProperty("repoPasswd")) { + systemProperty("intershop.gradle.versions","6.8, 7.0.2") + + if(project.hasProperty("repoURL") + && project.hasProperty("repoUser") + && project.hasProperty("repoPasswd")) { systemProperty("repo_url_config", project.property("repoURL").toString()) systemProperty("repo_user_config", project.property("repoUser").toString()) systemProperty("repo_passwd_config", project.property("repoPasswd").toString()) - } + } - useJUnitPlatform() + useJUnitPlatform() } val copyAsciiDoc = register("copyAsciiDoc") { @@ -185,7 +186,7 @@ tasks { getByName("jar")?.dependsOn("asciidoctor") val compileKotlin by getting(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) { - kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString() + kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString() } dokkaJavadoc.configure {