@@ -101,6 +101,7 @@ josm {
101101 josmCompileVersion = configuredJosmCompileVersion
102102 manifest {
103103 minJosmVersion = releases. highestJosmVersion
104+ minJavaVersion = 11
104105
105106 // Old releases up to v0.2.0 have a numeric ID and are available as raw asset from the github repo.
106107 // Newer releases starting from v0.2.0 use semantic versioning and are available as asset from
@@ -147,11 +148,18 @@ compileJava {
147148 options. compilerArgs << " -Xlint:unchecked" << " -Xlint:deprecation" << " -Werror"
148149}
149150
150- import org.gradle.api.tasks.testing.logging.TestLogEvent
151+
151152import org.gradle.api.tasks.testing.logging.TestExceptionFormat
153+ import org.gradle.api.tasks.testing.logging.TestLogEvent
154+ import org.openstreetmap.josm.plugins.scripting.CheckDownloadUrlsInManifestTask
155+ import org.openstreetmap.josm.plugins.scripting.build.GraalVMDownloadTask
152156import org.openstreetmap.josm.plugins.scripting.build.Releases
157+ import org.openstreetmap.josm.plugins.scripting.release.PublishToAwsS3Task
158+ import org.openstreetmap.josm.plugins.scripting.release.ShowPublishedPluginTask
153159
154160import java.nio.file.Files
161+ import java.nio.file.Paths
162+ import java.nio.file.StandardCopyOption
155163
156164/**
157165 * Replies the 'josm.home' directories used in tests
@@ -248,8 +256,6 @@ task testGraalVMSupportNotPresent(type: Test) {
248256 * Run unit tests for GraalJS functionality. Run it with the GraalVM java
249257 * executable.
250258 */
251- import java.nio.file.Paths
252- import java.nio.file.StandardCopyOption
253259task testWithGraalVMJDK (type : Test ) {
254260 dependsOn " downloadGraalVM"
255261 doFirst {
@@ -321,16 +327,12 @@ processResources {
321327 from " $projectDir /LICENSE"
322328}
323329
324- import org.openstreetmap.josm.plugins.scripting.build.GraalVMDownloadTask
325330tasks. register(" downloadGraalVM" , GraalVMDownloadTask )
326331
327- import org.openstreetmap.josm.plugins.scripting.CheckDownloadUrlsInManifestTask
328332tasks. register(" checkDownloadUrls" , CheckDownloadUrlsInManifestTask )
329333
330- import org.openstreetmap.josm.plugins.scripting.release.ShowPublishedPluginTask
331334tasks. register(" showPublishedPluginInfo" , ShowPublishedPluginTask )
332335
333- import org.openstreetmap.josm.plugins.scripting.release.PublishToAwsS3Task
334336tasks. register(" publishToAwsS3" , PublishToAwsS3Task )
335337
336338publishToGithubRelease {
0 commit comments