Skip to content

Commit

Permalink
Add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 17, 2024
1 parent 8380f78 commit b42f3de
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 5 deletions.
24 changes: 19 additions & 5 deletions depman/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,21 @@ eclipse-jdt-compiler-tool = "1.2.1100" # https://www.eclips
eclipse-jdt-compiler-apt = "1.3.1200" # https://www.eclipse.org/jdt/
# CLI
picocli = "4.5.0" # https://picocli.info/ (https://github.com/remkop/picocli)
# Templating
jmustache = "1.15" # https://github.com/samskivert/jmustache
# Logging
slf4j = "1.7.30" # https://www.slf4j.org/ (https://github.com/qos-ch/slf4j)
logback = "1.4.14" # https://logback.qos.ch/ (https://github.com/qos-ch/logback)
# Data Formats
jackson = "2.17.1" # https://github.com/FasterXML/jackson
commons-configuration2-jackson = "1.3.5" # https://github.com/Virtlink/commons-configuration2-jackson/
snakeyaml = "1.26" # https://bitbucket.org/asomov/snakeyaml (https://github.com/snakeyaml/snakeyaml)
# Build
pluto = "1.11.3"
pluto-build-java = "1.7.0"
jmustache = "1.15" # https://github.com/samskivert/jmustache
mustache-compiler = "0.9.2"
ant = "1.9.6"
ant-contrib = "1.0b3"

# Utils
commons-math3 = "3.6.1" # https://commons.apache.org/proper/commons-math/ (https://github.com/apache/commons-math)
commons-io = "2.15.1" # https://commons.apache.org/proper/commons-io/ (https://github.com/apache/commons-io)
Expand All @@ -91,6 +97,7 @@ kotest = "5.8.1" # https://kotest.io/
equalsverifier = "3.16.1" # https://jqno.nl/equalsverifier/ (https://github.com/jqno/equalsverifier)
mockito-kotlin = "2.2.0" # https://github.com/mockito/mockito-kotlin
jmh = "1.26" # https://openjdk.java.net/projects/code-tools/jmh/ (https://github.com/openjdk/jmh)
junit4-benchmarks = "0.7.2" # https://labs.carrotsearch.com/junit-benchmarks.html (https://github.com/carrotsearch/junit-benchmarks)


[plugins]
Expand Down Expand Up @@ -322,6 +329,7 @@ stratego-lang = { module = "org.metaborg.devenv:me
stratego2-lang = { module = "org.metaborg.devenv:stratego.lang", version.ref = "stratego" }

# Stratego XT (https://github.com/metaborg/strategoxt)
strategoxt-jar = { module = "org.metaborg:strategoxt-jar", version.ref = "spoofax2" } # TODO: Should this be prefixed with strategoxt? Should this be built by the StrategoXT repo Gradle?
strategoxt-minjar = { module = "org.metaborg:strategoxt-min-jar", version.ref = "spoofax2" } # TODO: Should this be prefixed with strategoxt? Should this be built by the StrategoXT repo Gradle?
strategoxt-strj = { module = "org.metaborg.devenv:org.strategoxt.strj", version.ref = "strategoxt" }

Expand Down Expand Up @@ -379,9 +387,6 @@ eclipse-jdt-compiler-apt = { module = "org.eclipse.jdt:org.ec
picocli = { module = "info.picocli:picocli", version.ref = "picocli" }
picocli-codegen = { module = "info.picocli:picocli-codegen", version.ref = "picocli" }

# Templating
jmustache = { module = "com.samskivert:jmustache", version.ref = "jmustache" }

# Logging
slf4j-simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" }
slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
Expand All @@ -398,6 +403,14 @@ jackson-annotations = { module = "com.fasterxml.jackson.
jackson-dataformat-yaml = { module = "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml", version.ref = "jackson" }
snakeyaml = { module = "org.yaml:snakeyaml", version.ref = "snakeyaml" }

# Build
pluto = { module = "build.pluto:pluto", version.ref = "pluto" }
pluto-build-java = { module = "build.pluto:build-java", version.ref = "pluto-build-java" }
jmustache = { module = "com.samskivert:jmustache", version.ref = "jmustache" }
mustache-compiler = { module = "com.github.spullara.mustache.java:compiler", version.ref = "mustache-compiler" }
ant = { module = "org.apache.ant:ant", version.ref = "ant" }
ant-contrib = { module = "ant-contrib:ant-contrib", version.ref = "ant-contrib" }

# Utils
commons-math3 = { module = "org.apache.commons:commons-math3", version.ref = "commons-math3" }
commons-io = { module = "commons-io:commons-io", version.ref = "commons-io" }
Expand Down Expand Up @@ -429,3 +442,4 @@ equalsverifier = { module = "nl.jqno.equalsverifier
mockito-kotlin = { module = "com.nhaarman.mockitokotlin2:mockito-kotlin", version.ref = "mockito-kotlin" }
jmh-core = { module = "org.openjdk.jmh:jmh-core", version.ref = "jmh" }
jmh-generator-annprocess = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "jmh" }
junit4-benchmarks = { module = "com.carrotsearch:junit-benchmarks", version.ref = "junit4-benchmarks" }
1 change: 1 addition & 0 deletions depman/platform-latest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ dependencies {
api(libs.stratego2.lang) { version { require("latest.release") } }

// Stratego XT (https://github.com/metaborg/strategoxt)
api(libs.strategoxt.jar) { version { require("latest.release") } }
api(libs.strategoxt.minjar) { version { require("latest.release") } }
api(libs.strategoxt.strj) { version { require("latest.release") } }

Expand Down
1 change: 1 addition & 0 deletions depman/platform-snapshot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ dependencies {
api(libs.stratego2.lang) { version { require("latest.integration") } }

// Stratego XT (https://github.com/metaborg/strategoxt)
api(libs.strategoxt.jar) { version { require("latest.integration") } }
api(libs.strategoxt.minjar) { version { require("latest.integration") } }
api(libs.strategoxt.strj) { version { require("latest.integration") } }

Expand Down
1 change: 1 addition & 0 deletions depman/platform/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ dependencies {
api(libs.stratego2.lang)

// Stratego XT (https://github.com/metaborg/strategoxt)
api(libs.strategoxt.jar)
api(libs.strategoxt.minjar)
api(libs.strategoxt.strj)

Expand Down
21 changes: 21 additions & 0 deletions example/java-example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ publishing {

repositories {
maven("https://artifacts.metaborg.org/content/groups/public/")
maven("https://repo.gradle.org/gradle/libs-releases") // Required for Gradle tooling API.
}

dependencies {
Expand Down Expand Up @@ -228,6 +229,7 @@ dependencies {
// api(libs.stratego2.lang) // TODO: spoofax-language component

// Stratego XT (https://github.com/metaborg/strategoxt)
api(libs.strategoxt.jar)
api(libs.strategoxt.minjar)
api(libs.strategoxt.strj)

Expand All @@ -254,6 +256,7 @@ dependencies {
api(libs.jakarta.inject)
api(libs.javax.inject)
api(libs.checkerframework.android)
api(libs.jsr305)

// Maven
api(libs.maven.resolver.api)
Expand All @@ -264,8 +267,12 @@ dependencies {
api(libs.bnd.gradle)

// Gradle
api(libs.coronium)
api(libs.gradle.develocityPlugin)
api(libs.gradle.foojayPlugin)
api(libs.gradle.intellijPlugin)
api(libs.gradle.tooling.api)
api(libs.gradle.develocityAdapter)

// ECJ
api(libs.eclipse.jdt.core)
Expand All @@ -285,6 +292,15 @@ dependencies {
api(libs.jackson.databind)
api(libs.jackson.annotations)
api(libs.jackson.dataformat.yaml)
api(libs.snakeyaml)

// Build
api(libs.pluto)
api(libs.pluto.build.java)
api(libs.jmustache)
api(libs.mustache.compiler)
api(libs.ant)
api(libs.ant.contrib)

// Utils
api(libs.commons.math3)
Expand All @@ -300,6 +316,8 @@ dependencies {
api(libs.fst)
api(libs.kryo)
api(libs.lmdbjava)
api(libs.opencsv)
api(libs.classgraph)

// Testing
api(libs.junit)
Expand All @@ -313,6 +331,9 @@ dependencies {
api(libs.kotest.property)
api(libs.equalsverifier)
api(libs.mockito.kotlin)
api(libs.jmh.core)
api(libs.jmh.generator.annprocess)
api(libs.junit4.benchmarks)

}

Expand Down

0 comments on commit b42f3de

Please sign in to comment.