Skip to content

Commit 0552c20

Browse files
fix: 20.1 version of the mod
1 parent b006f53 commit 0552c20

File tree

4 files changed

+36
-35
lines changed

4 files changed

+36
-35
lines changed

Diff for: CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Kube Utils Changelog
22

3-
## [20.1.0]
3+
## [20.1.1]
44

5-
### Changed
5+
### Fixed
66

7-
- Backported to 1.20.1
7+
- Backport release built not working correctly...

Diff for: README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ Currently, we only have a few helpers to some of the lesser supported areas of K
2626

2727
## TODO
2828

29-
- [ ] Port to Fabric (coming soon)
30-
- [ ] Expand the modules
31-
- [ ] Figure out a versionable code schema
32-
- [ ] Get out of beta test
33-
- [ ] Website based documentation
29+
- [ ] Expand the modules (looking for suggestions)
3430

3531
## Documentation
3632

Diff for: build.gradle

+29-25
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ plugins {
33
id 'eclipse'
44
id 'idea'
55
id 'maven-publish'
6-
id 'net.neoforged.gradle.userdev' version '7.0.142'
7-
id "me.modmuss50.mod-publish-plugin" version "0.5.1"
6+
id 'net.neoforged.moddev.legacyforge' version '2.0.78'
7+
id "me.modmuss50.mod-publish-plugin" version "0.8.3"
88
}
99

1010
def mcBase = getMinecraftBaseVersion()
@@ -20,46 +20,50 @@ base {
2020

2121
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
2222

23-
runs {
24-
configureEach {
25-
systemProperty 'forge.logging.markers', 'REGISTRIES'
26-
systemProperty 'forge.logging.console.level', 'debug'
23+
legacyForge {
24+
version = project.minecraft_version + "-" + project.neoforge_version
2725

28-
modSource project.sourceSets.main
29-
}
26+
runs {
27+
configureEach {
28+
systemProperty 'forge.logging.markers', 'REGISTRIES'
29+
systemProperty 'forge.logging.console.level', 'debug'
30+
}
3031

31-
client {
32-
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
33-
}
32+
client {
33+
client()
34+
}
35+
36+
server {
37+
server()
38+
programArgument '--nogui'
39+
}
3440

35-
server {
36-
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
37-
programArgument '--nogui'
41+
data {
42+
data()
43+
programArguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
44+
}
3845
}
3946

40-
data {
41-
programArguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
47+
mods {
48+
kubeutils {
49+
sourceSet sourceSets.main
50+
}
4251
}
4352
}
4453

4554
sourceSets.main.resources { srcDir 'src/generated/resources' }
4655

47-
configurations {
48-
runtimeClasspath.extendsFrom localRuntime
49-
}
50-
5156
dependencies {
52-
implementation "net.neoforged:forge:${minecraft_version}-${neoforge_version}"
53-
54-
implementation "dev.latvian.mods:kubejs-forge:${kubejs_version}"
57+
modImplementation "dev.latvian.mods:kubejs-forge:${kubejs_version}"
58+
modImplementation "dev.latvian.mods:rhino-forge:${rhino_version}"
5559
}
5660

5761
repositories {
5862
mavenLocal()
5963

6064
maven {
6165
name = "Kubejs"
62-
url "https://maven.saps.dev/minecraft"
66+
url "https://maven.latvian.dev/releases"
6367
content {
6468
includeGroup "dev.latvian.mods"
6569
}
@@ -124,7 +128,7 @@ publishMods {
124128
dryRun = providers.environmentVariable("CURSEFORGE_TOKEN").getOrNull() == null
125129
changelog = file("./CHANGELOG.md").text
126130
version = project.version
127-
file = project.provider { project.tasks.jar }.flatMap { it.archiveFile }
131+
file = reobfJar.archiveFile
128132
modLoaders.add("forge")
129133
type = STABLE
130134
displayName = "[${minecraft_version}] KubeUtils ${project.version}"

Diff for: gradle.properties

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ org.gradle.jvmargs=-Xmx2G
44
# The MC version is used to determine the base the version for neo and the mod
55
minecraft_version=1.20.1
66

7-
neoforge_version=47.1.28
7+
neoforge_version=47.3.33
88
neoforge_loader_version=47
9-
mod_version=0
9+
mod_version=1
1010

1111
maven_group=pro.mikey.mods
1212
archives_base_name=kube-utils
@@ -17,3 +17,4 @@ curseforge_id=678815
1717
modrinth_id=JHdL51WR
1818

1919
kubejs_version=2001.6.5-build.16
20+
rhino_version=2001.2.3-build.10

0 commit comments

Comments
 (0)