Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ on:
- major
- minor
- patch
default: "patch"
snapshot:
description: "Is Snapshot"
required: false
type: boolean
default: true

jobs:
publish:
name: Publish Snapshot to Maven Central
name: Publish to Maven Central
uses: entur/gha-maven-central/.github/workflows/gradle-publish.yml@v1
with:
next_version: ${{ inputs.next_version }}
snapshot: ${{ inputs.snapshot }}
secrets: inherit
11 changes: 0 additions & 11 deletions .github/workflows/publishSnapshot.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ Run tests:
./gradlew test
```

Releases are done using the publish.yaml workflow.
Do not bump the version in gradle.properties manually!

## Contributing
Contributions are welcome! See [CONTRIBUTING](/CONTRIBUTING.md) for details.

Expand Down
11 changes: 10 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
buildscript {
configurations.classpath {
resolutionStrategy {
// Fix https://github.com/jreleaser/jreleaser/issues/1643
force 'org.eclipse.jgit:org.eclipse.jgit:5.13.0.202109080827-r'
}
}
}

plugins {
id 'base'
id 'org.jreleaser' version "1.21.0"
id 'org.jreleaser' version "1.24.0"
id 'com.github.ben-manes.versions' version '0.53.0' apply false
id "com.github.spotbugs" version "6.4.5" apply false
id 'com.diffplug.spotless' version "8.1.0" apply false
Expand Down