diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 479e617..95e5d5d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,8 @@ --- +# !! THIS FILE WAS GENERATED USING repoman !! +# Modify `repo.yaml` instead and use `repoman` to update this file +# See: https://github.com/metaborg/metaborg-gradle/ + name: 'Build & Publish' on: # yamllint disable-line rule:truthy @@ -13,7 +17,7 @@ jobs: with: gradle-command: | gradle build -# Publish snapshots + # Publish snapshots publish-snapshot: uses: metaborg/actions/.github/workflows/gradle-publish.yaml@main with: @@ -21,13 +25,12 @@ jobs: gradle publish -Pgitonium.isSnapshot=true gradle-version-command: | gradle -q :convention-plugin:printVersion -Pgitonium.isSnapshot=true - gradle-build-scan-publish: true if: "github.event_name == 'push' && github.ref == 'refs/heads/main'" needs: [build] secrets: METABORG_ARTIFACTS_USERNAME: ${{ secrets.METABORG_ARTIFACTS_USERNAME }} METABORG_ARTIFACTS_PASSWORD: ${{ secrets.METABORG_ARTIFACTS_PASSWORD }} -# Publish releases + # Publish releases publish-release: uses: metaborg/actions/.github/workflows/gradle-publish.yaml@main with: @@ -35,7 +38,6 @@ jobs: gradle publish gradle-version-command: | gradle -q :convention-plugin:printVersion - gradle-build-scan-publish: true if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/release-')" needs: [build] secrets: diff --git a/.gitignore b/.gitignore index c3b0106..bf43d1b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# !! THIS FILE WAS GENERATED USING repoman !! +# Modify `repo.yaml` instead and use `repoman` to update this file +# See: https://github.com/metaborg/metaborg-gradle/ + # Java *.class *.log @@ -70,3 +74,7 @@ local.properties *.lock jte-classes/ +# Spoofax +src-gen/ +target/ + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6ee1fa3..4681b76 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,9 @@ + + # Metaborg Gradle ## How to Contribute diff --git a/README.md b/README.md index 2e43fae..4ab2f27 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + # Metaborg Gradle [![Build][github-badge:build]][github:build] [![License][license-badge]][license] @@ -9,12 +15,12 @@ The Metaborg Gradle convention and development plugins, and the Metaborg depende [![Documentation][documentation-button]][documentation] +## Spoofax 3 Artifacts -| Artifact | Latest Release | Latest Snapshot | +| Spoofax Language | Latest Release | Latest Snapshot | |----------|----------------|-----------------| | `org.metaborg:catalog` | [![Release][mvn-rel-badge:org.metaborg:catalog]][mvn:org.metaborg:catalog] | [![Snapshot][mvn-snap-badge:org.metaborg:catalog]][mvn:org.metaborg:catalog] | | `org.metaborg:platform` | [![Release][mvn-rel-badge:org.metaborg:platform]][mvn:org.metaborg:platform] | [![Snapshot][mvn-snap-badge:org.metaborg:platform]][mvn:org.metaborg:platform] | - | Gradle Plugin | Latest Release | Latest Snapshot | |---------------|----------------|-----------------| | `org.metaborg.convention.settings` | [![Release][mvn-rel-badge:org.metaborg.convention.settings:org.metaborg.convention.settings.gradle.plugin]][mvn:org.metaborg.convention.settings:org.metaborg.convention.settings.gradle.plugin] | [![Snapshot][mvn-snap-badge:org.metaborg.convention.settings:org.metaborg.convention.settings.gradle.plugin]][mvn:org.metaborg.convention.settings:org.metaborg.convention.settings.gradle.plugin] | @@ -22,6 +28,7 @@ The Metaborg Gradle convention and development plugins, and the Metaborg depende | `org.metaborg.convention.maven-publish` | [![Release][mvn-rel-badge:org.metaborg.convention.maven-publish:org.metaborg.convention.maven-publish.gradle.plugin]][mvn:org.metaborg.convention.maven-publish:org.metaborg.convention.maven-publish.gradle.plugin] | [![Snapshot][mvn-snap-badge:org.metaborg.convention.maven-publish:org.metaborg.convention.maven-publish.gradle.plugin]][mvn:org.metaborg.convention.maven-publish:org.metaborg.convention.maven-publish.gradle.plugin] | | `org.metaborg.convention.root-project` | [![Release][mvn-rel-badge:org.metaborg.convention.root-project:org.metaborg.convention.root-project.gradle.plugin]][mvn:org.metaborg.convention.root-project:org.metaborg.convention.root-project.gradle.plugin] | [![Snapshot][mvn-snap-badge:org.metaborg.convention.root-project:org.metaborg.convention.root-project.gradle.plugin]][mvn:org.metaborg.convention.root-project:org.metaborg.convention.root-project.gradle.plugin] | + ## License Copyright 2024 [Programming Languages Group](https://pl.ewi.tudelft.nl/), [Delft University of Technology](https://www.tudelft.nl/) @@ -38,22 +45,21 @@ Unless required by applicable law or agreed to in writing, software distributed [documentation-badge]: https://img.shields.io/badge/docs-latest-brightgreen [documentation]: https://spoofax.dev/metaborg-gradle/ [documentation-button]: https://img.shields.io/badge/Documentation-blue?style=for-the-badge&logo=googledocs&logoColor=white - [mvn:org.metaborg:catalog]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~catalog~~~ -[mvn-rel-badge:org.metaborg:catalog]: https://img.shields.io/nexus/r/org.metaborg/catalog?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 -[mvn-snap-badge:org.metaborg:catalog]: https://img.shields.io/nexus/s/org.metaborg/catalog?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn:org.metaborg:platform]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~platform~~~ -[mvn-rel-badge:org.metaborg:platform]: https://img.shields.io/nexus/r/org.metaborg/platform?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 -[mvn-snap-badge:org.metaborg:platform]: https://img.shields.io/nexus/s/org.metaborg/platform?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn:org.metaborg.convention.settings:org.metaborg.convention.settings.gradle.plugin]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.convention.settings~org.metaborg.convention.settings.gradle.plugin~~~ -[mvn-rel-badge:org.metaborg.convention.settings:org.metaborg.convention.settings.gradle.plugin]: 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-snap-badge:org.metaborg.convention.settings:org.metaborg.convention.settings.gradle.plugin]: 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:org.metaborg.convention.java:org.metaborg.convention.java.gradle.plugin]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.convention.java~org.metaborg.convention.java.gradle.plugin~~~ -[mvn-rel-badge:org.metaborg.convention.java:org.metaborg.convention.java.gradle.plugin]: 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 -[mvn-snap-badge:org.metaborg.convention.java:org.metaborg.convention.java.gradle.plugin]: 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 [mvn:org.metaborg.convention.maven-publish:org.metaborg.convention.maven-publish.gradle.plugin]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.convention.maven-publish~org.metaborg.convention.maven-publish.gradle.plugin~~~ -[mvn-rel-badge:org.metaborg.convention.maven-publish:org.metaborg.convention.maven-publish.gradle.plugin]: https://img.shields.io/nexus/r/org.metaborg.convention.maven-publish/org.metaborg.convention.maven-publish.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 -[mvn-snap-badge:org.metaborg.convention.maven-publish:org.metaborg.convention.maven-publish.gradle.plugin]: https://img.shields.io/nexus/s/org.metaborg.convention.maven-publish/org.metaborg.convention.maven-publish.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn:org.metaborg.convention.root-project:org.metaborg.convention.root-project.gradle.plugin]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.convention.root-project~org.metaborg.convention.root-project.gradle.plugin~~~ +[mvn-rel-badge:org.metaborg:catalog]: https://img.shields.io/nexus/r/org.metaborg/catalog?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-rel-badge:org.metaborg:platform]: https://img.shields.io/nexus/r/org.metaborg/platform?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-rel-badge:org.metaborg.convention.settings:org.metaborg.convention.settings.gradle.plugin]: 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:org.metaborg.convention.java:org.metaborg.convention.java.gradle.plugin]: 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 +[mvn-rel-badge:org.metaborg.convention.maven-publish:org.metaborg.convention.maven-publish.gradle.plugin]: https://img.shields.io/nexus/r/org.metaborg.convention.maven-publish/org.metaborg.convention.maven-publish.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn-rel-badge:org.metaborg.convention.root-project:org.metaborg.convention.root-project.gradle.plugin]: 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:org.metaborg:catalog]: https://img.shields.io/nexus/s/org.metaborg/catalog?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-rel-badge:org.metaborg:platform]: https://img.shields.io/nexus/s/org.metaborg/platform?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-snap-badge:org.metaborg.convention.settings:org.metaborg.convention.settings.gradle.plugin]: 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:org.metaborg.convention.java:org.metaborg.convention.java.gradle.plugin]: 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 +[mvn-snap-badge:org.metaborg.convention.maven-publish:org.metaborg.convention.maven-publish.gradle.plugin]: https://img.shields.io/nexus/s/org.metaborg.convention.maven-publish/org.metaborg.convention.maven-publish.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 [mvn-snap-badge:org.metaborg.convention.root-project:org.metaborg.convention.root-project.gradle.plugin]: 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