File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
22 java
3- alias(libs.plugins.git.version )
3+ alias(libs.plugins.git.semver )
44 alias(libs.plugins.shadow)
55}
66
@@ -61,11 +61,8 @@ dependencies {
6161 compileOnly(libs.io.papermc.paper.paper.api)
6262}
6363
64- val versionDetails: groovy.lang.Closure < com.palantir.gradle.gitversion.VersionDetails > by extra
65- val details = versionDetails()
66-
6764group = " com.alpsbte"
68- version = " 5.0.3 " + " - " + details.gitHash + " -SNAPSHOT "
65+ version = semver.semVersion
6966description = " An easy to use building system for the BuildTheEarth project."
7067java.sourceCompatibility = JavaVersion .VERSION_21
7168
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ org-mariadb-jdbc-mariadb-java-client = "3.5.7" # https://central.sonatype.com/a
2020com-intellectualsites-bom-bom-newest = " 1.55" # Ref: https://github.com/IntellectualSites/bom
2121# Plugins
2222shadow = " 9.3.1" # https://github.com/GradleUp/shadow/releases
23- git-version = " 5.0. 0" # https://github.com/palantir/gradle-git-version /releases
23+ git-semver = " 0.19. 0" # https://github.com/jmongard/Git.SemVersioning.Gradle /releases
2424
2525[libraries ]
2626com-alpsbte-alpslib-alpslib-hologram = { module = " com.alpsbte.alpslib:alpslib-hologram" , version.ref = " com-alpsbte-alpslib-alpslib-hologram" }
@@ -41,5 +41,5 @@ org-mariadb-jdbc-mariadb-java-client = { module = "org.mariadb.jdbc:mariadb-java
4141com-intellectualsites-bom-bom-newest = { module = " com.intellectualsites.bom:bom-newest" , version.ref = " com-intellectualsites-bom-bom-newest" }
4242
4343[plugins ]
44- git-version = { id = " com.palantir. git-version " , version.ref = " git-version " }
44+ git-semver = { id = " com.github.jmongard. git-semver-plugin " , version.ref = " git-semver " }
4545shadow = { id = " com.gradleup.shadow" , version.ref = " shadow" }
You can’t perform that action at this time.
0 commit comments