Skip to content

Commit

Permalink
First draft version that uses hardcoded path
Browse files Browse the repository at this point in the history
  • Loading branch information
alanocallaghan committed Jan 25, 2024
1 parent 09b51dd commit d195713
Show file tree
Hide file tree
Showing 10 changed files with 392 additions and 175 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Open `build.gradle` and follow a similar process to with `settings.gradle`, to u
For the extension to work, you need to create at least one file that extends `qupath.lib.gui.extensions.QuPathExtension`.
There are two examples in the template, in two languages:
* **Java:** `qupath.ext.template.DemoExtension.java`.
* **Java:** `qupath.ext.template.InstanSegExtension.java`.
* **Groovy:** `qupath.ext.template.DemoGroovyExtension.java`.
You can pick the one that corresponds to the language you want to use, and delete the other.
Expand Down
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ ext.qupathJavaVersion = 17
* but shouldn't be bundled up for use in the extension.
*/
dependencies {
implementation project(path: ':qupath-core-processing')
implementation project(path: ':qupath-extension-djl')

// Main QuPath user interface jar.
// Automatically includes other QuPath jars as subdependencies.
Expand All @@ -51,7 +53,7 @@ dependencies {
shadow libs.slf4j

// If you aren't using Groovy, this can be removed
shadow libs.bundles.groovy
shadow libs.deepJavaLibrary

testImplementation "io.github.qupath:qupath-gui-fx:${qupathVersion}"
testImplementation libs.junit
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ dependencyResolutionManagement {

}
}
includeFlat 'qupath-extension-djl'
41 changes: 0 additions & 41 deletions src/main/groovy/qupath/ext/template/DemoGroovyExtension.groovy

This file was deleted.

130 changes: 0 additions & 130 deletions src/main/java/qupath/ext/template/DemoExtension.java

This file was deleted.

Loading

0 comments on commit d195713

Please sign in to comment.