Skip to content

Commit

Permalink
first implementation of an automatically generated Gradle platform fr…
Browse files Browse the repository at this point in the history
…om the SciJava Pom
  • Loading branch information
elect86 committed Mar 5, 2024
1 parent 0d98cac commit 9f7081b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ dependencies {
val scijavaParentPomVersion = project.properties["scijavaParentPOMVersion"]
val lwjglVersion = project.properties["lwjglVersion"]

implementation(platform("org.scijava:pom-scijava:$scijavaParentPomVersion"))
// implementation(platform("org.scijava:pom-scijava:$scijavaParentPomVersion"))
implementation(platform("org.scijava:platform:0.1"))
annotationProcessor("org.scijava:scijava-common:2.97.1")

implementation(kotlin("reflect"))
Expand Down Expand Up @@ -147,6 +148,8 @@ dependencies {
implementation("net.imagej:imagej-ops:0.45.5")
}

//configurations.getAt("compileClasspath").incoming.resolutionResult.allDependencies.filter { it.isConstraint }.forEach { println(it) }

val isRelease: Boolean
get() = System.getProperty("release") == "true"

Expand Down

0 comments on commit 9f7081b

Please sign in to comment.