Skip to content

Commit

Permalink
Reimplement populate_fiji.sh in Kotlin
Browse files Browse the repository at this point in the history
Co-authored-by: Giuseppe Barbieri <elect86@gmail.com>
  • Loading branch information
ctrueden and elect86 committed Jan 19, 2024
1 parent 7564070 commit e620414
Show file tree
Hide file tree
Showing 3 changed files with 359 additions and 212 deletions.
15 changes: 10 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ plugins {
kotlin("kapt")
sciview.publish
sciview.sign
sciview.populateFiji
id("org.jetbrains.dokka")
jacoco
`maven-publish`
Expand All @@ -27,8 +28,6 @@ repositories {
logger.warn("Using local Maven repository as source")
mavenLocal()
}
maven("https://jitpack.io")
mavenCentral()
maven("https://maven.scijava.org/content/groups/public")
}

Expand All @@ -51,6 +50,10 @@ dependencies {
version { strictly(sceneryVersion) }
exclude("org.biojava.thirdparty", "forester")
exclude("null", "unspecified")

// from biojava artifacts; clashes with jakarta-activation-api
exclude("javax.xml.bind", "jaxb-api")
exclude("org.glassfish.jaxb", "jaxb-runtime")
}

implementation("net.java.dev.jna:jna-platform:5.11.0")
Expand All @@ -61,8 +64,6 @@ dependencies {

implementation("com.formdev:flatlaf")

implementation("org.slf4j:slf4j-simple")

// SciJava dependencies

implementation("org.yaml:snakeyaml") {
Expand Down Expand Up @@ -121,7 +122,7 @@ dependencies {
implementation(platform(kotlin("bom")))
implementation(kotlin("stdlib-jdk8"))
testImplementation(kotlin("test-junit"))
testImplementation("org.slf4j:slf4j-simple:1.7.36")
testImplementation("org.slf4j:slf4j-simple")

implementation("sc.fiji:bigdataviewer-core")
implementation("sc.fiji:bigdataviewer-vistools")
Expand Down Expand Up @@ -445,4 +446,8 @@ jacoco {
toolVersion = "0.8.11"
}

task("copyDependencies", Copy::class) {
from(configurations.runtimeClasspath).into("$buildDir/dependencies")
}

java.withSourcesJar()

0 comments on commit e620414

Please sign in to comment.