diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f2b85fc..3f7ba6c 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: @@ -26,7 +30,7 @@ jobs: 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: 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 da4ecd3..70274c6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,9 @@ + + # Metaborg Common ## How to Contribute diff --git a/README.md b/README.md index f22f8fb..cccd33c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + # Metaborg Common [![Build][github-badge:build]][github:build] [![License][license-badge]][license] @@ -6,8 +12,9 @@ Common and utility classes for Metaborg projects. +## Spoofax 3 Artifacts -| Artifact | Latest Release | Latest Snapshot | +| Maven Artifact | Latest Release | Latest Snapshot | |----------|----------------|-----------------| | `org.metaborg:common` | [![Release][mvn-rel-badge:org.metaborg:common]][mvn:org.metaborg:common] | [![Snapshot][mvn-snap-badge:org.metaborg:common]][mvn:org.metaborg:common] | @@ -25,7 +32,6 @@ Unless required by applicable law or agreed to in writing, software distributed [license]: https://github.com/metaborg/common/blob/master/LICENSE.md [github-badge:release]: https://img.shields.io/github/v/release/metaborg/common?display_name=release [github:release]: https://github.com/metaborg/common/releases - [mvn:org.metaborg:common]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~common~~~ [mvn-rel-badge:org.metaborg:common]: https://img.shields.io/nexus/r/org.metaborg/common?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 -[mvn-snap-badge:org.metaborg:common]: https://img.shields.io/nexus/s/org.metaborg/common?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-rel-badge:org.metaborg:common]: https://img.shields.io/nexus/s/org.metaborg/common?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 diff --git a/build.gradle.kts b/build.gradle.kts index bf60aa3..ee85484 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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/ + import org.metaborg.convention.Person import org.metaborg.convention.MavenPublishConventionExtension @@ -9,10 +13,9 @@ plugins { } rootProjectConvention { - // This will add `publishAll` and `publish` tasks that call the `publish` task on each subproject and sub-build + // Add `publishAll` and `publish` tasks that delegate to the subprojects and included builds. registerPublishTasks.set(true) } - allprojects { apply(plugin = "org.metaborg.gitonium") @@ -20,7 +23,6 @@ allprojects { gitonium { mainBranch.set("master") } - version = gitonium.version group = "org.metaborg" @@ -32,8 +34,11 @@ allprojects { metadata { inceptionYear.set("2021") developers.set(listOf( - Person("Gohla", "Gabriel Konat", "gabrielkonat@gmail.com"), - Person("Virtlink", "Daniel A. A. Pelsmaeker", "developer@pelsmaeker.net"), + Person("Jeff Smits", email = null, id = "Apanatshka"), + )) + contributors.set(listOf( + Person("Gabriel Konat", email = null, id = "Gohla"), + Person("Daniel A. A. Pelsmaeker", email = null, id = "Virtlink"), )) } } diff --git a/repo.yaml b/repo.yaml index a9a0a3a..4f283b1 100644 --- a/repo.yaml +++ b/repo.yaml @@ -8,18 +8,30 @@ description: | Common and utility classes for Metaborg projects. inceptionYear: "2021" -libraries: +spoofax3Libraries: - group: "org.metaborg" name: "common" description: "Metaborg Common library" -developers: +contributors: - id: "Gohla" name: "Gabriel Konat" - id: "Virtlink" name: "Daniel A. A. Pelsmaeker" +developers: + - id: "Apanatshka" + name: "Jeff Smits" + files: githubWorkflows: publishRelease: true publishSnapshot: true + gradleRootProject: + update: true + rootProjectName: "common.root" + createPublishTasks: true + includedProjects: + - name: ":common" + githubIssueTemplates: + generate: false diff --git a/settings.gradle.kts b/settings.gradle.kts index 5d167f0..5661f01 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,4 +1,6 @@ -rootProject.name = "common.root" +// !! THIS FILE WAS GENERATED USING repoman !! +// Modify `repo.yaml` instead and use `repoman` to update this file +// See: https://github.com/metaborg/metaborg-gradle/ dependencyResolutionManagement { repositories { @@ -18,5 +20,5 @@ plugins { id("org.metaborg.convention.settings") version "latest.integration" } +rootProject.name = "common.root" include(":common") -