diff --git a/build.gradle b/build.gradle index b63d8ed..fddd0d7 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ ext.moduleName = 'qupath.extension.jpen' archivesBaseName = 'qupath-extension-jpen' description = "QuPath extension to support graphic tablet input using JPen." -version = "0.3.0-rc2" +version = "0.3.0" def libName = "jpen-2.0.0" def libZipped = file("libs/${libName}-lib.zip") @@ -17,7 +17,7 @@ def libUnzipped = file("${buildDir}/unpacked/") tasks.register ("extractLibs", Copy) { description "Extract JPen library (required before building)" group 'QuPath' - + from zipTree(libZipped) into libUnzipped } @@ -27,23 +27,24 @@ compileJava.configure { } repositories { +// mavenLocal() mavenCentral() - + maven { url "https://maven.scijava.org/content/repositories/releases" } - + maven { url "https://maven.scijava.org/content/repositories/snapshots" } - + } -dependencies { +dependencies { // Lazily evaluate this to avoid problems during configuration implementation fileTree(dir: "${buildDir}/unpacked/${libName}", include: "jpen-2.jar") - - shadow "io.github.qupath:qupath-gui-fx:0.3.0-rc2" + + shadow "io.github.qupath:qupath-gui-fx:0.3.0" shadow "org.slf4j:slf4j-api:1.7.30" } @@ -56,11 +57,11 @@ processResources { shadowJar { from ("${buildDir}/unpacked/${libName}") { into 'natives/' - + include '*.dll' include '*.jnilib' include '*.so' - } + } }