Skip to content

Commit

Permalink
chore: dump version
Browse files Browse the repository at this point in the history
  • Loading branch information
gc-garcol committed Nov 21, 2024
1 parent 3670141 commit 2c4db68
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Publish to GitHub Packages
- name: Publish to GitHub Packages and Maven Central
run: ./gradlew :lib-core:publish
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
Expand Down
20 changes: 9 additions & 11 deletions lib-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import org.jreleaser.model.Active

plugins {
`java-library`
`maven-publish`
id("org.jreleaser") version "1.15.0"
}

group = "io.github.gc-garcol"
version = "0.0.3"
version = "0.0.4"

java {
toolchain {
Expand Down Expand Up @@ -79,13 +77,13 @@ publishing {
password = System.getenv("GITHUB_TOKEN")
}
}
maven {
name = "MavenCentral"
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
// maven {
// name = "MavenCentral"
// url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
// credentials {
// username = System.getenv("MAVEN_USERNAME")
// password = System.getenv("MAVEN_PASSWORD")
// }
// }
}
}

0 comments on commit 2c4db68

Please sign in to comment.