Skip to content

Commit

Permalink
Merge pull request #4 from petebankhead/main
Browse files Browse the repository at this point in the history
Update to v0.3.0
  • Loading branch information
petebankhead authored Sep 2, 2021
2 parents 83baa43 + ec9c078 commit bf67d96
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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
}
Expand All @@ -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"
}

Expand All @@ -56,11 +57,11 @@ processResources {
shadowJar {
from ("${buildDir}/unpacked/${libName}") {
into 'natives/'

include '*.dll'
include '*.jnilib'
include '*.so'
}
}
}


Expand Down

0 comments on commit bf67d96

Please sign in to comment.