Skip to content

Commit

Permalink
Use gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
petebankhead committed Dec 6, 2024
1 parent 0162587 commit 6aa7f92
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 85 deletions.
56 changes: 0 additions & 56 deletions build.gradle

This file was deleted.

21 changes: 21 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
plugins {
id("qupath-conventions")
}

qupathExtension {
name = "qupath-extension-align"
version = "0.5.0-SNAPSHOT"
group = "io.github.qupath"
description = "QuPath extension for interactive image alignment"
automaticModule = "qupath.extension.align"
}

dependencies {

implementation(libs.bundles.qupath)
implementation(libs.bundles.logging)

// For testing
testImplementation(libs.junit)

}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
28 changes: 0 additions & 28 deletions settings.gradle

This file was deleted.

17 changes: 17 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
pluginManagement {
repositories {
gradlePluginPortal()
maven {
url = uri("https://maven.scijava.org/content/repositories/releases")
}
}
}

qupath {
version = "0.5.0"
}

// Apply QuPath Gradle settings plugin to handle configuration
plugins {
id("io.github.qupath.qupath-extension-settings") version "0.2.1"
}

0 comments on commit 6aa7f92

Please sign in to comment.