From 364807a0638c54e4ca19a7008fbeb547a74f3e49 Mon Sep 17 00:00:00 2001 From: "Daniel A. A. Pelsmaeker" Date: Wed, 17 Jul 2024 11:23:37 +0200 Subject: [PATCH] Add platform-latest and platform-nightly --- README.md | 30 +-- depman/gradle/libs.versions.toml | 2 + depman/platform-latest/build.gradle.kts | 224 +++++++++++++++++++++++ depman/platform-nightly/build.gradle.kts | 224 +++++++++++++++++++++++ depman/settings.gradle.kts | 3 +- example/java-example/build.gradle.kts | 2 +- 6 files changed, 472 insertions(+), 13 deletions(-) create mode 100644 depman/platform-latest/build.gradle.kts create mode 100644 depman/platform-nightly/build.gradle.kts diff --git a/README.md b/README.md index 69bdda3..11d5a03 100644 --- a/README.md +++ b/README.md @@ -8,17 +8,19 @@ The Metaborg Gradle convention and development plugins, and the Metaborg depende [![Documentation][documentation-button]][documentation] -| Gradle Plugin | Latest Release | Latest Snapshot | -|-------------------------------------------------------------------------|----------------------------------------------------|------------------------------------------------------| -| [`org.metaborg.convention.settings`][mvn:convention.settings] | ![Release][mvn-rel-badge:convention.settings] | ![Snapshot][mvn-snap-badge:convention.settings] | -| [`org.metaborg.convention.java`][mvn:convention.java] | ![Release][mvn-rel-badge:convention.java] | ![Snapshot][mvn-snap-badge:convention.java] | -| [`org.metaborg.convention.maven-publish`][mvn:convention.maven-publish] | ![Release][mvn-rel-badge:convention.maven-publish] | ![Snapshot][mvn-snap-badge:convention.maven-publish] | -| [`org.metaborg.convention.root-project`][mvn:convention.root-project] | ![Release][mvn-rel-badge:convention.root-project] | ![Snapshot][mvn-snap-badge:convention.root-project] | - -| Artifact | Latest Release | Latest Snapshot | -|-------------------------------------------------------------------------|----------------------------------------------------|------------------------------------------------------| -| [`org.metaborg:catalog`][mvn:catalog] | ![Release][mvn-rel-badge:catalog] | ![Snapshot][mvn-snap-badge:catalog] | -| [`org.metaborg:platform`][mvn:platform] | ![Release][mvn-rel-badge:platform] | ![Snapshot][mvn-snap-badge:platform] | +| Gradle Plugin | Latest Release | Latest Snapshot | +|-----------------------------------------|------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------| +| `org.metaborg.convention.settings` | [![Release][mvn-rel-badge:convention.settings]][mvn:convention.settings] | [![Snapshot][mvn-snap-badge:convention.settings]][mvn:convention.settings] | +| `org.metaborg.convention.java` | [![Release][mvn-rel-badge:convention.java]][mvn:convention.java] | [![Snapshot][mvn-snap-badge:convention.java]][mvn:convention.java] | +| `org.metaborg.convention.maven-publish` | [![Release][mvn-rel-badge:convention.maven-publish]][mvn:convention.maven-publish] | [![Snapshot][mvn-snap-badge:convention.maven-publish]][mvn:convention.maven-publish] | +| `org.metaborg.convention.root-project` | [![Release][mvn-rel-badge:convention.root-project]][mvn:convention.root-project] | [![Snapshot][mvn-snap-badge:convention.root-project]][mvn:convention.root-project] | + +| Artifact | Latest Release | Latest Snapshot | +|---------------------------------|--------------------------------------------------------------------|----------------------------------------------------------------------| +| `org.metaborg:catalog` | [![Release][mvn-rel-badge:catalog]][mvn:catalog] | [![Snapshot][mvn-snap-badge:catalog]][mvn:catalog] | +| `org.metaborg:platform` | [![Release][mvn-rel-badge:platform]][mvn:platform] | [![Snapshot][mvn-snap-badge:platform]][mvn:platform] | +| `org.metaborg:platform-latest` | [![Release][mvn-rel-badge:platform-latest]][mvn:platform-latest] | [![Snapshot][mvn-snap-badge:platform-latest]][mvn:platform-latest] | +| `org.metaborg:platform-nightly` | [![Release][mvn-rel-badge:platform-nightly]][mvn:platform-nightly] | [![Snapshot][mvn-snap-badge:platform-nightly]][mvn:platform-nightly] | ## Gradle Convention @@ -61,6 +63,8 @@ Unless required by applicable law or agreed to in writing, software distributed [mvn:convention.root-project]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.convention.root-project~org.metaborg.convention.root-project.gradle.plugin~~~ [mvn:catalog]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~catalog~~~ [mvn:platform]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~platform~~~ +[mvn:platform-latest]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~platform-latest~~~ +[mvn:platform-nightly]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~platform-nightly~~~ [mvn-rel-badge:convention.settings]: https://img.shields.io/nexus/r/org.metaborg.convention.settings/org.metaborg.convention.settings.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn-rel-badge:convention.java]: https://img.shields.io/nexus/r/org.metaborg.convention.java/org.metaborg.convention.java.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 @@ -68,6 +72,8 @@ Unless required by applicable law or agreed to in writing, software distributed [mvn-rel-badge:convention.root-project]: https://img.shields.io/nexus/r/org.metaborg.convention.root-project/org.metaborg.convention.root-project.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn-rel-badge:catalog]: https://img.shields.io/nexus/r/org.metaborg/catalog?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn-rel-badge:platform]: https://img.shields.io/nexus/r/org.metaborg/platform?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-rel-badge:platform-latest]: https://img.shields.io/nexus/r/org.metaborg/platform-latest?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-rel-badge:platform-nightly]: https://img.shields.io/nexus/r/org.metaborg/platform-nightly?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn-snap-badge:convention.settings]: https://img.shields.io/nexus/s/org.metaborg.convention.settings/org.metaborg.convention.settings.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn-snap-badge:convention.java]: https://img.shields.io/nexus/s/org.metaborg.convention.java/org.metaborg.convention.java.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 @@ -75,3 +81,5 @@ Unless required by applicable law or agreed to in writing, software distributed [mvn-snap-badge:convention.root-project]: https://img.shields.io/nexus/s/org.metaborg.convention.root-project/org.metaborg.convention.root-project.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn-snap-badge:catalog]: https://img.shields.io/nexus/s/org.metaborg/catalog?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn-snap-badge:platform]: https://img.shields.io/nexus/s/org.metaborg/platform?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-snap-badge:platform-latest]: https://img.shields.io/nexus/s/org.metaborg/platform-latest?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-snap-badge:platform-nightly]: https://img.shields.io/nexus/s/org.metaborg/platform-nightly?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 diff --git a/depman/gradle/libs.versions.toml b/depman/gradle/libs.versions.toml index b4c64c7..242c404 100644 --- a/depman/gradle/libs.versions.toml +++ b/depman/gradle/libs.versions.toml @@ -129,6 +129,8 @@ metaborg-common = { module = "org.metaborg:common", # Metaborg Depman (https://github.com/metaborg/spoofax3-depman) metaborg-platform = { module = "org.metaborg:platform", version.ref = "metaborg-depman" } +metaborg-platform-latest = { module = "org.metaborg:platform-latest", version.ref = "metaborg-depman" } +metaborg-platform-nightly = { module = "org.metaborg:platform-nightly", version.ref = "metaborg-depman" } # Metaborg Log (https://github.com/metaborg/log) metaborg-log-api = { module = "org.metaborg:log.api", version.ref = "metaborg-log" } diff --git a/depman/platform-latest/build.gradle.kts b/depman/platform-latest/build.gradle.kts new file mode 100644 index 0000000..bad5ea8 --- /dev/null +++ b/depman/platform-latest/build.gradle.kts @@ -0,0 +1,224 @@ +plugins { + `java-platform` + `maven-publish` + signing + id("org.metaborg.convention.maven-publish") +} + +group = "org.metaborg" +description = "Spoofax 3 Platform (Latest Releases)" + +dependencies { + constraints { + // NOTE: Also update part of libs.versions.toml + + // Metaborg Common (https://github.com/metaborg/common) + api(libs.metaborg.common) { version { require("latest.release") } } + + // Metaborg Log (https://github.com/metaborg/log) + api(libs.metaborg.log.api) { version { require("latest.release") } } + api(libs.metaborg.log.backend.logback) { version { require("latest.release") } } + api(libs.metaborg.log.backend.slf4j) { version { require("latest.release") } } + api(libs.metaborg.log.dagger) { version { require("latest.release") } } + + // Metaborg PIE (https://github.com/metaborg/pie) + api(libs.metaborg.pie.api) { version { require("latest.release") } } + api(libs.metaborg.pie.api.test) { version { require("latest.release") } } + api(libs.metaborg.pie.dagger) { version { require("latest.release") } } + api(libs.metaborg.pie.graph) { version { require("latest.release") } } + api(libs.metaborg.pie.lang) { version { require("latest.release") } } + api(libs.metaborg.pie.lang.runtime.java) { version { require("latest.release") } } + api(libs.metaborg.pie.lang.runtime.kotlin) { version { require("latest.release") } } + api(libs.metaborg.pie.lang.test) { version { require("latest.release") } } + api(libs.metaborg.pie.runtime) { version { require("latest.release") } } + api(libs.metaborg.pie.runtime.test) { version { require("latest.release") } } + api(libs.metaborg.pie.serde.fst) { version { require("latest.release") } } + api(libs.metaborg.pie.serde.kryo) { version { require("latest.release") } } + api(libs.metaborg.pie.share.coroutine) { version { require("latest.release") } } + api(libs.metaborg.pie.store.lmdb) { version { require("latest.release") } } + api(libs.metaborg.pie.task.archive) { version { require("latest.release") } } + api(libs.metaborg.pie.task.java) { version { require("latest.release") } } + api(libs.metaborg.pie.task.java.ecj) { version { require("latest.release") } } + api(libs.metaborg.pie.taskdefs.guice) { version { require("latest.release") } } + + // Metaborg Resource (https://github.com/metaborg/resource) + api(libs.metaborg.resource.api) { version { require("latest.release") } } + api(libs.metaborg.resource.dagger) { version { require("latest.release") } } + + // Spoofax 3/PIE (https://github.com/metaborg/spoofax-pie) + api(libs.spoofax3.aterm.common) { version { require("latest.release") } } + api(libs.spoofax3.cfg) { version { require("latest.release") } } + api(libs.spoofax3.cfg.cli) { version { require("latest.release") } } + api(libs.spoofax3.cfg.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.cfg.intellij) { version { require("latest.release") } } + api(libs.spoofax3.cfg.spoofax2) { version { require("latest.release") } } + api(libs.spoofax3.cli) { version { require("latest.release") } } + api(libs.spoofax3.compiler) { version { require("latest.release") } } + api(libs.spoofax3.compiler.eclipsebundle) { version { require("latest.release") } } + api(libs.spoofax3.compiler.gradle) { version { require("latest.release") } } + api(libs.spoofax3.compiler.gradle.spoofax2) { version { require("latest.release") } } + api(libs.spoofax3.compiler.interfaces) { version { require("latest.release") } } + api(libs.spoofax3.compiler.spoofax2) { version { require("latest.release") } } + api(libs.spoofax3.compiler.spoofax2.dagger) { version { require("latest.release") } } + api(libs.spoofax3.constraint.common) { version { require("latest.release") } } + api(libs.spoofax3.constraint.pie) { version { require("latest.release") } } + api(libs.spoofax3.core) { version { require("latest.release") } } + api(libs.spoofax3.dynamix) { version { require("latest.release") } } + api(libs.spoofax3.dynamix.cli) { version { require("latest.release") } } + api(libs.spoofax3.dynamix.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.dynamix.intellij) { version { require("latest.release") } } + api(libs.spoofax3.dynamix.spoofax2) { version { require("latest.release") } } + api(libs.spoofax3.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.esv) { version { require("latest.release") } } + api(libs.spoofax3.esv.cli) { version { require("latest.release") } } + api(libs.spoofax3.esv.common) { version { require("latest.release") } } + api(libs.spoofax3.esv.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.esv.intellij) { version { require("latest.release") } } + api(libs.spoofax3.gpp) { version { require("latest.release") } } + api(libs.spoofax3.gpp.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.intellij) { version { require("latest.release") } } + api(libs.spoofax3.jsglr.common) { version { require("latest.release") } } + api(libs.spoofax3.jsglr.pie) { version { require("latest.release") } } + api(libs.spoofax3.jsglr1.common) { version { require("latest.release") } } + api(libs.spoofax3.jsglr2.common) { version { require("latest.release") } } + api(libs.spoofax3.libspoofax2) { version { require("latest.release") } } + api(libs.spoofax3.libspoofax2.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.libstatix) { version { require("latest.release") } } + api(libs.spoofax3.libstatix.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.lwb.compiler) { version { require("latest.release") } } + api(libs.spoofax3.lwb.compiler.gradle) { version { require("latest.release") } } + api(libs.spoofax3.lwb.dynamicloading) { version { require("latest.release") } } + api(libs.spoofax3.nabl2.common) { version { require("latest.release") } } + api(libs.spoofax3.resource) { version { require("latest.release") } } + api(libs.spoofax3.sdf3) { version { require("latest.release") } } + api(libs.spoofax3.sdf3.cli) { version { require("latest.release") } } + api(libs.spoofax3.sdf3.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.sdf3.intellij) { version { require("latest.release") } } + api(libs.spoofax3.sdf3.extdynamix) { version { require("latest.release") } } + api(libs.spoofax3.sdf3.extdynamix.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.sdf3.extdynamix.spoofax2) { version { require("latest.release") } } + api(libs.spoofax3.sdf3.extstatix) { version { require("latest.release") } } + api(libs.spoofax3.sdf3.extstatix.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.spoofax.common) { version { require("latest.release") } } + api(libs.spoofax3.spoofax2.common) { version { require("latest.release") } } + api(libs.spoofax3.spt) { version { require("latest.release") } } + api(libs.spoofax3.spt.api) { version { require("latest.release") } } + api(libs.spoofax3.spt.cli) { version { require("latest.release") } } + api(libs.spoofax3.spt.dynamicloading) { version { require("latest.release") } } + api(libs.spoofax3.spt.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.spt.intellij) { version { require("latest.release") } } + api(libs.spoofax3.statix) { version { require("latest.release") } } + api(libs.spoofax3.statix.cli) { version { require("latest.release") } } + api(libs.spoofax3.statix.codecompletion) { version { require("latest.release") } } + api(libs.spoofax3.statix.codecompletion.pie) { version { require("latest.release") } } + api(libs.spoofax3.statix.common) { version { require("latest.release") } } + api(libs.spoofax3.statix.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.statix.intellij) { version { require("latest.release") } } + api(libs.spoofax3.statix.multilang) { version { require("latest.release") } } + api(libs.spoofax3.statix.multilang.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.statix.pie) { version { require("latest.release") } } + api(libs.spoofax3.stratego) { version { require("latest.release") } } + api(libs.spoofax3.stratego.cli) { version { require("latest.release") } } + api(libs.spoofax3.stratego.common) { version { require("latest.release") } } + api(libs.spoofax3.stratego.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.stratego.intellij) { version { require("latest.release") } } + api(libs.spoofax3.stratego.pie) { version { require("latest.release") } } + api(libs.spoofax3.strategolib) { version { require("latest.release") } } + api(libs.spoofax3.strategolib.eclipse) { version { require("latest.release") } } + api(libs.spoofax3.tego.runtime) { version { require("latest.release") } } + api(libs.spoofax3.test) { version { require("latest.release") } } + api(libs.spoofax3.tooling.eclipsebundle) { version { require("latest.release") } } + api(libs.spoofax3.transform.pie) { version { require("latest.release") } } + + // ESV (https://github.com/metaborg/esv) + api(libs.esv.lang) { version { require("latest.release") } } + + // Flowspec (https://github.com/metaborg/flowspec) + api(libs.flowspec.runtime) { version { require("latest.release") } } + + // JSGLR (https://github.com/metaborg/jsglr) + api(libs.interpreter.library.jsglr) { version { require("latest.release") } } + api(libs.jsglr) { version { require("latest.release") } } + api(libs.jsglr.shared) { version { require("latest.release") } } + api(libs.jsglr2) { version { require("latest.release") } } + api(libs.makepermissive) { version { require("latest.release") } } + + // MB Exec (https://github.com/metaborg/mb-exec) + api(libs.interpreter.core) { version { require("latest.release") } } + api(libs.interpreter.library.java) { version { require("latest.release") } } + api(libs.interpreter.library.xml) { version { require("latest.release") } } + api(libs.metaborg.util) { version { require("latest.release") } } + api(libs.util.vfs2) { version { require("latest.release") } } + + // MB Rep (https://github.com/metaborg/mb-rep) + api(libs.interpreter.library.index) { version { require("latest.release") } } + api(libs.spoofax.terms) { version { require("latest.release") } } + + // NaBL (https://github.com/metaborg/nabl) + api(libs.nabl.lang) { version { require("latest.release") } } + api(libs.nabl.praffrayi) { version { require("latest.release") } } + api(libs.nabl.renaming.java) { version { require("latest.release") } } + api(libs.nabl.scopegraph) { version { require("latest.release") } } + api(libs.nabl2.lang) { version { require("latest.release") } } + api(libs.nabl2.runtime) { version { require("latest.release") } } + api(libs.nabl2.shared) { version { require("latest.release") } } + api(libs.nabl2.solver) { version { require("latest.release") } } + api(libs.nabl2.terms) { version { require("latest.release") } } + api(libs.statix.generator) { version { require("latest.release") } } + api(libs.statix.lang) { version { require("latest.release") } } + api(libs.statix.runtime) { version { require("latest.release") } } + api(libs.statix.solver) { version { require("latest.release") } } + api(libs.ts.lang) { version { require("latest.release") } } + + // Runtime Libraries (https://github.com/metaborg/runtime-libraries) + api(libs.meta.lib.analysis) { version { require("latest.release") } } + api(libs.metaborg.runtime.task) { version { require("latest.release") } } + + // SDF (https://github.com/metaborg/sdf) + api(libs.parsetable) { version { require("latest.release") } } + api(libs.sdf2parenthesize) { version { require("latest.release") } } + api(libs.sdf2table) { version { require("latest.release") } } + api(libs.sdf3.extstatix) { version { require("latest.release") } } + api(libs.sdf3.lang) { version { require("latest.release") } } + + // Spoofax Core (https://github.com/metaborg/spoofax) + api(libs.metaborg.core) { version { require("latest.release") } } + api(libs.metaborg.core.test) { version { require("latest.release") } } + api(libs.metaborg.meta.core) { version { require("latest.release") } } + api(libs.spoofax2.core) { version { require("latest.release") } } + api(libs.spoofax2.meta.core) { version { require("latest.release") } } + api(libs.spoofax2.meta.lib.spoofax) { version { require("latest.release") } } + api(libs.spoofax2.nativebundle) { version { require("latest.release") } } + + // Spoofax Gradle (https://github.com/metaborg/spoofax-gradle) + api(libs.spoofax3.gradle) { version { require("latest.release") } } + + // SPT (https://github.com/metaborg/spt) + api(libs.mbt.core) { version { require("latest.release") } } + api(libs.spt.core) { version { require("latest.release") } } + api(libs.spt.lang) { version { require("latest.release") } } + + // Stratego (https://github.com/metaborg/stratego) + api(libs.stratego.build) { version { require("latest.release") } } + api(libs.stratego.build.spoofax2) { version { require("latest.release") } } + api(libs.stratego.lang) { version { require("latest.release") } } + api(libs.stratego2.lang) { version { require("latest.release") } } + + // Stratego XT (https://github.com/metaborg/strategoxt) + api(libs.strategoxt.minjar) { version { require("latest.release") } } + api(libs.strategoxt.strj) { version { require("latest.release") } } + + } +} + +publishing { + publications { + create("mavenPlatform") { + from(components["javaPlatform"]) + } + } +} + +// signing { +// sign(publishing.publications["mavenPlatform"]) +// } diff --git a/depman/platform-nightly/build.gradle.kts b/depman/platform-nightly/build.gradle.kts new file mode 100644 index 0000000..845603b --- /dev/null +++ b/depman/platform-nightly/build.gradle.kts @@ -0,0 +1,224 @@ +plugins { + `java-platform` + `maven-publish` + signing + id("org.metaborg.convention.maven-publish") +} + +group = "org.metaborg" +description = "Spoofax 3 Platform (Latest Snapshots)" + +dependencies { + constraints { + // NOTE: Also update part of libs.versions.toml + + // Metaborg Common (https://github.com/metaborg/common) + api(libs.metaborg.common) { version { require("latest.integration") } } + + // Metaborg Log (https://github.com/metaborg/log) + api(libs.metaborg.log.api) { version { require("latest.integration") } } + api(libs.metaborg.log.backend.logback) { version { require("latest.integration") } } + api(libs.metaborg.log.backend.slf4j) { version { require("latest.integration") } } + api(libs.metaborg.log.dagger) { version { require("latest.integration") } } + + // Metaborg PIE (https://github.com/metaborg/pie) + api(libs.metaborg.pie.api) { version { require("latest.integration") } } + api(libs.metaborg.pie.api.test) { version { require("latest.integration") } } + api(libs.metaborg.pie.dagger) { version { require("latest.integration") } } + api(libs.metaborg.pie.graph) { version { require("latest.integration") } } + api(libs.metaborg.pie.lang) { version { require("latest.integration") } } + api(libs.metaborg.pie.lang.runtime.java) { version { require("latest.integration") } } + api(libs.metaborg.pie.lang.runtime.kotlin) { version { require("latest.integration") } } + api(libs.metaborg.pie.lang.test) { version { require("latest.integration") } } + api(libs.metaborg.pie.runtime) { version { require("latest.integration") } } + api(libs.metaborg.pie.runtime.test) { version { require("latest.integration") } } + api(libs.metaborg.pie.serde.fst) { version { require("latest.integration") } } + api(libs.metaborg.pie.serde.kryo) { version { require("latest.integration") } } + api(libs.metaborg.pie.share.coroutine) { version { require("latest.integration") } } + api(libs.metaborg.pie.store.lmdb) { version { require("latest.integration") } } + api(libs.metaborg.pie.task.archive) { version { require("latest.integration") } } + api(libs.metaborg.pie.task.java) { version { require("latest.integration") } } + api(libs.metaborg.pie.task.java.ecj) { version { require("latest.integration") } } + api(libs.metaborg.pie.taskdefs.guice) { version { require("latest.integration") } } + + // Metaborg Resource (https://github.com/metaborg/resource) + api(libs.metaborg.resource.api) { version { require("latest.integration") } } + api(libs.metaborg.resource.dagger) { version { require("latest.integration") } } + + // Spoofax 3/PIE (https://github.com/metaborg/spoofax-pie) + api(libs.spoofax3.aterm.common) { version { require("latest.integration") } } + api(libs.spoofax3.cfg) { version { require("latest.integration") } } + api(libs.spoofax3.cfg.cli) { version { require("latest.integration") } } + api(libs.spoofax3.cfg.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.cfg.intellij) { version { require("latest.integration") } } + api(libs.spoofax3.cfg.spoofax2) { version { require("latest.integration") } } + api(libs.spoofax3.cli) { version { require("latest.integration") } } + api(libs.spoofax3.compiler) { version { require("latest.integration") } } + api(libs.spoofax3.compiler.eclipsebundle) { version { require("latest.integration") } } + api(libs.spoofax3.compiler.gradle) { version { require("latest.integration") } } + api(libs.spoofax3.compiler.gradle.spoofax2) { version { require("latest.integration") } } + api(libs.spoofax3.compiler.interfaces) { version { require("latest.integration") } } + api(libs.spoofax3.compiler.spoofax2) { version { require("latest.integration") } } + api(libs.spoofax3.compiler.spoofax2.dagger) { version { require("latest.integration") } } + api(libs.spoofax3.constraint.common) { version { require("latest.integration") } } + api(libs.spoofax3.constraint.pie) { version { require("latest.integration") } } + api(libs.spoofax3.core) { version { require("latest.integration") } } + api(libs.spoofax3.dynamix) { version { require("latest.integration") } } + api(libs.spoofax3.dynamix.cli) { version { require("latest.integration") } } + api(libs.spoofax3.dynamix.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.dynamix.intellij) { version { require("latest.integration") } } + api(libs.spoofax3.dynamix.spoofax2) { version { require("latest.integration") } } + api(libs.spoofax3.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.esv) { version { require("latest.integration") } } + api(libs.spoofax3.esv.cli) { version { require("latest.integration") } } + api(libs.spoofax3.esv.common) { version { require("latest.integration") } } + api(libs.spoofax3.esv.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.esv.intellij) { version { require("latest.integration") } } + api(libs.spoofax3.gpp) { version { require("latest.integration") } } + api(libs.spoofax3.gpp.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.intellij) { version { require("latest.integration") } } + api(libs.spoofax3.jsglr.common) { version { require("latest.integration") } } + api(libs.spoofax3.jsglr.pie) { version { require("latest.integration") } } + api(libs.spoofax3.jsglr1.common) { version { require("latest.integration") } } + api(libs.spoofax3.jsglr2.common) { version { require("latest.integration") } } + api(libs.spoofax3.libspoofax2) { version { require("latest.integration") } } + api(libs.spoofax3.libspoofax2.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.libstatix) { version { require("latest.integration") } } + api(libs.spoofax3.libstatix.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.lwb.compiler) { version { require("latest.integration") } } + api(libs.spoofax3.lwb.compiler.gradle) { version { require("latest.integration") } } + api(libs.spoofax3.lwb.dynamicloading) { version { require("latest.integration") } } + api(libs.spoofax3.nabl2.common) { version { require("latest.integration") } } + api(libs.spoofax3.resource) { version { require("latest.integration") } } + api(libs.spoofax3.sdf3) { version { require("latest.integration") } } + api(libs.spoofax3.sdf3.cli) { version { require("latest.integration") } } + api(libs.spoofax3.sdf3.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.sdf3.intellij) { version { require("latest.integration") } } + api(libs.spoofax3.sdf3.extdynamix) { version { require("latest.integration") } } + api(libs.spoofax3.sdf3.extdynamix.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.sdf3.extdynamix.spoofax2) { version { require("latest.integration") } } + api(libs.spoofax3.sdf3.extstatix) { version { require("latest.integration") } } + api(libs.spoofax3.sdf3.extstatix.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.spoofax.common) { version { require("latest.integration") } } + api(libs.spoofax3.spoofax2.common) { version { require("latest.integration") } } + api(libs.spoofax3.spt) { version { require("latest.integration") } } + api(libs.spoofax3.spt.api) { version { require("latest.integration") } } + api(libs.spoofax3.spt.cli) { version { require("latest.integration") } } + api(libs.spoofax3.spt.dynamicloading) { version { require("latest.integration") } } + api(libs.spoofax3.spt.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.spt.intellij) { version { require("latest.integration") } } + api(libs.spoofax3.statix) { version { require("latest.integration") } } + api(libs.spoofax3.statix.cli) { version { require("latest.integration") } } + api(libs.spoofax3.statix.codecompletion) { version { require("latest.integration") } } + api(libs.spoofax3.statix.codecompletion.pie) { version { require("latest.integration") } } + api(libs.spoofax3.statix.common) { version { require("latest.integration") } } + api(libs.spoofax3.statix.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.statix.intellij) { version { require("latest.integration") } } + api(libs.spoofax3.statix.multilang) { version { require("latest.integration") } } + api(libs.spoofax3.statix.multilang.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.statix.pie) { version { require("latest.integration") } } + api(libs.spoofax3.stratego) { version { require("latest.integration") } } + api(libs.spoofax3.stratego.cli) { version { require("latest.integration") } } + api(libs.spoofax3.stratego.common) { version { require("latest.integration") } } + api(libs.spoofax3.stratego.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.stratego.intellij) { version { require("latest.integration") } } + api(libs.spoofax3.stratego.pie) { version { require("latest.integration") } } + api(libs.spoofax3.strategolib) { version { require("latest.integration") } } + api(libs.spoofax3.strategolib.eclipse) { version { require("latest.integration") } } + api(libs.spoofax3.tego.runtime) { version { require("latest.integration") } } + api(libs.spoofax3.test) { version { require("latest.integration") } } + api(libs.spoofax3.tooling.eclipsebundle) { version { require("latest.integration") } } + api(libs.spoofax3.transform.pie) { version { require("latest.integration") } } + + // ESV (https://github.com/metaborg/esv) + api(libs.esv.lang) { version { require("latest.integration") } } + + // Flowspec (https://github.com/metaborg/flowspec) + api(libs.flowspec.runtime) { version { require("latest.integration") } } + + // JSGLR (https://github.com/metaborg/jsglr) + api(libs.interpreter.library.jsglr) { version { require("latest.integration") } } + api(libs.jsglr) { version { require("latest.integration") } } + api(libs.jsglr.shared) { version { require("latest.integration") } } + api(libs.jsglr2) { version { require("latest.integration") } } + api(libs.makepermissive) { version { require("latest.integration") } } + + // MB Exec (https://github.com/metaborg/mb-exec) + api(libs.interpreter.core) { version { require("latest.integration") } } + api(libs.interpreter.library.java) { version { require("latest.integration") } } + api(libs.interpreter.library.xml) { version { require("latest.integration") } } + api(libs.metaborg.util) { version { require("latest.integration") } } + api(libs.util.vfs2) { version { require("latest.integration") } } + + // MB Rep (https://github.com/metaborg/mb-rep) + api(libs.interpreter.library.index) { version { require("latest.integration") } } + api(libs.spoofax.terms) { version { require("latest.integration") } } + + // NaBL (https://github.com/metaborg/nabl) + api(libs.nabl.lang) { version { require("latest.integration") } } + api(libs.nabl.praffrayi) { version { require("latest.integration") } } + api(libs.nabl.renaming.java) { version { require("latest.integration") } } + api(libs.nabl.scopegraph) { version { require("latest.integration") } } + api(libs.nabl2.lang) { version { require("latest.integration") } } + api(libs.nabl2.runtime) { version { require("latest.integration") } } + api(libs.nabl2.shared) { version { require("latest.integration") } } + api(libs.nabl2.solver) { version { require("latest.integration") } } + api(libs.nabl2.terms) { version { require("latest.integration") } } + api(libs.statix.generator) { version { require("latest.integration") } } + api(libs.statix.lang) { version { require("latest.integration") } } + api(libs.statix.runtime) { version { require("latest.integration") } } + api(libs.statix.solver) { version { require("latest.integration") } } + api(libs.ts.lang) { version { require("latest.integration") } } + + // Runtime Libraries (https://github.com/metaborg/runtime-libraries) + api(libs.meta.lib.analysis) { version { require("latest.integration") } } + api(libs.metaborg.runtime.task) { version { require("latest.integration") } } + + // SDF (https://github.com/metaborg/sdf) + api(libs.parsetable) { version { require("latest.integration") } } + api(libs.sdf2parenthesize) { version { require("latest.integration") } } + api(libs.sdf2table) { version { require("latest.integration") } } + api(libs.sdf3.extstatix) { version { require("latest.integration") } } + api(libs.sdf3.lang) { version { require("latest.integration") } } + + // Spoofax Core (https://github.com/metaborg/spoofax) + api(libs.metaborg.core) { version { require("latest.integration") } } + api(libs.metaborg.core.test) { version { require("latest.integration") } } + api(libs.metaborg.meta.core) { version { require("latest.integration") } } + api(libs.spoofax2.core) { version { require("latest.integration") } } + api(libs.spoofax2.meta.core) { version { require("latest.integration") } } + api(libs.spoofax2.meta.lib.spoofax) { version { require("latest.integration") } } + api(libs.spoofax2.nativebundle) { version { require("latest.integration") } } + + // Spoofax Gradle (https://github.com/metaborg/spoofax-gradle) + api(libs.spoofax3.gradle) { version { require("latest.integration") } } + + // SPT (https://github.com/metaborg/spt) + api(libs.mbt.core) { version { require("latest.integration") } } + api(libs.spt.core) { version { require("latest.integration") } } + api(libs.spt.lang) { version { require("latest.integration") } } + + // Stratego (https://github.com/metaborg/stratego) + api(libs.stratego.build) { version { require("latest.integration") } } + api(libs.stratego.build.spoofax2) { version { require("latest.integration") } } + api(libs.stratego.lang) { version { require("latest.integration") } } + api(libs.stratego2.lang) { version { require("latest.integration") } } + + // Stratego XT (https://github.com/metaborg/strategoxt) + api(libs.strategoxt.minjar) { version { require("latest.integration") } } + api(libs.strategoxt.strj) { version { require("latest.integration") } } + + } +} + +publishing { + publications { + create("mavenPlatform") { + from(components["javaPlatform"]) + } + } +} + +// signing { +// sign(publishing.publications["mavenPlatform"]) +// } diff --git a/depman/settings.gradle.kts b/depman/settings.gradle.kts index eb746c4..64b80b7 100644 --- a/depman/settings.gradle.kts +++ b/depman/settings.gradle.kts @@ -20,4 +20,5 @@ plugins { include(":catalog") include(":platform") -include(":example") +include(":platform-latest") +include(":platform-nightly") diff --git a/example/java-example/build.gradle.kts b/example/java-example/build.gradle.kts index de71a97..b8b4927 100644 --- a/example/java-example/build.gradle.kts +++ b/example/java-example/build.gradle.kts @@ -31,7 +31,7 @@ repositories { } dependencies { - implementation(platform(libs.metaborg.platform)) + implementation(platform(libs.metaborg.platform.nightly)) // Metaborg Common (https://github.com/metaborg/common) api(libs.metaborg.common)