Skip to content

Commit

Permalink
2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
KrLite committed Jul 17, 2024
1 parent 0c06268 commit 92c2408
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 24 deletions.
10 changes: 2 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
### Changes
### Maintenance Update

- Unified publishing using **modpublisher.**
- Jar name migrate: `{id}-{mcversion}-{modversion}` -> `{id}-{modversion}-{loader}{mcversion}`.
- Tag name migrate: `{id}-{modversion}-mc{mcversion}` -> `{id}-{modversion}-{loader}{mcversion}`.

### Ownership Transfer

- **Transferred** ownership to **[Kessoku Tea Time.](https://github.com/KessokuTeaTime)**
- **Use** fully semantic versioning.
16 changes: 3 additions & 13 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
class Display {
lateinit var name: String
lateinit var loader: String
lateinit var version: String
}

var display: Display = Display()

plugins {
base
java
Expand All @@ -15,13 +7,11 @@ plugins {
alias(libs.plugins.modpublisher)
}

val display = libs.versions.display

group = libs.versions.maven.group.get()
version = "${libs.versions.mod.get()}-${libs.versions.loader.get()}${libs.versions.minecraft.get()}"

display.name = libs.versions.display.name.get()
display.loader = libs.versions.display.loader.get()
display.version = libs.versions.display.version.get()

base {
archivesName.set(libs.versions.archives.name)
}
Expand Down Expand Up @@ -86,7 +76,7 @@ publisher {
curseDepends.optional()
curseDepends.embedded()

displayName.set("${display.name} ${libs.versions.mod.get()} for ${display.loader} ${display.version}")
displayName.set("${display.name.get()} ${libs.versions.mod.get()} for ${display.loader.get()} ${display.version.get()}")

artifact.set(tasks.remapJar)
addAdditionalFile(tasks.remapSourcesJar)
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
maven-group = "band.kessokuteatime"
archives-name = "flash"
mod = "2.1.0"
mod = "2.1.1"
loader = "fabric"

minecraft = "1.20"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "flash",
"version": "${version}",

"name": "${display.name}",
"name": "${display.name.get()}",
"description": "Flashes as you take a screenshot.",
"authors": [
"KessokuTeaTime",
Expand Down

0 comments on commit 92c2408

Please sign in to comment.