Skip to content

Commit fa3b2ff

Browse files
committed
Fix build error, have minecraft version in mod version
1 parent 9bf6615 commit fa3b2ff

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,4 @@ Just don't personally send me bugs, ideas or feature/help requests, those go in
5959

6060
### Also available on [CurseForge](https://www.curseforge.com/minecraft/mc-mods/twitch-chat) and [ModRinth](https://modrinth.com/mod/twitch-chat).
6161

62-
### [Here](https://github.com/pblop/twitch-chat/wiki/Screenshots) you can see in-game images.
63-
64-
---
65-
66-
I've started school, so this project is going to be updated sparingly, but I'll try to answer every comment and resolve
67-
your issues.
62+
### [Here](https://github.com/pblop/twitch-chat/wiki/Screenshots) you can see in-game images.

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id 'maven-publish'
44
}
55

6-
version = project.mod_version
6+
version = "${project.mod_version}+${project.minecraft_version}"
77
group = project.maven_group
88

99
base {
@@ -12,11 +12,11 @@ base {
1212

1313
repositories {
1414
maven { url = 'https://maven.terraformersmc.com/'}
15-
maven { url 'https://jitpack.io' }
1615
maven {
1716
name 'Xander Maven'
1817
url 'https://maven.isxander.dev/releases'
1918
}
19+
maven { url 'https://jitpack.io' }
2020
}
2121

2222
dependencies {
@@ -68,8 +68,10 @@ java {
6868
}
6969

7070
jar {
71+
inputs.property "archivesName", project.base.archivesName
72+
7173
from("LICENSE") {
72-
rename { "${it}_${project.archivesBaseName}"}
74+
rename { "${it}_${inputs.properties.archivesName}"}
7375
}
7476
}
7577

0 commit comments

Comments
 (0)