Skip to content

Commit

Permalink
migrate: 1.20.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sakurawald committed Dec 24, 2023
1 parent 8b46905 commit a42ecdd
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
8 changes: 3 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.google.gson.JsonParser

plugins {
id 'fabric-loom' version '1.4-SNAPSHOT'
id 'maven-publish'
Expand Down Expand Up @@ -70,7 +68,7 @@ dependencies {
modImplementation include("eu.pb4:sgui:${project.sgui_version}")

implementation "me.lucko:spark-api:${project.spark_version}"

include(implementation "org.reflections:reflections:${project.reflections_version}")
include(implementation "org.javassist:javassist:${project.javaassist_version}")
}
Expand Down Expand Up @@ -124,14 +122,14 @@ modrinth {
versionNumber = "$mod_version"
versionType = "release"
uploadFile = remapJar
gameVersions = ["1.20.2"]
gameVersions = ["1.20.3", "1.20.4"]
loaders = ["fabric"]
dependencies {
required.project "fabric-api"
optional.project "carpet"
optional.project "spark"
}
syncBodyFrom = rootProject.file("README.md").text
syncBodyFrom = rootProject.file("README.md").text
}
tasks.modrinth.dependsOn(tasks.modrinthSyncBody)
tasks.register('replaceReadme') {
Expand Down
26 changes: 13 additions & 13 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx4G
org.gradle.parallel=true

# Fabric Properties
minecraft_version=1.20.1
loader_version=0.14.22
fabric_version=0.87.0+1.20.1

# Mod Properties
# mod properties
mod_version=1.1.8
maven_group=io.github.sakurawald
archives_base_name=fuji

# Dependencies
carpet_core_version=1.20-1.4.112+v230608
sgui_version=1.2.2+1.20
adventure_api_version=4.14.0
# fabric deps
minecraft_version=1.20.4
loader_version=0.15.3
fabric_version=0.91.3+1.20.4

spark_version=0.1-SNAPSHOT
adventure_platform_fabric_version=5.9.0
# mod deps
carpet_core_version=1.20.3-1.4.128+v231205
sgui_version=1.4.0+1.20.4
adventure_api_version=4.15.0
adventure_platform_fabric_version=5.10.1

# common deps
fabric_permissions_version=0.2-SNAPSHOT
spark_version=0.1-SNAPSHOT
mixin_extras_version=0.2.0-beta.8
apache_commons_compression_version=1.24.0
apache_commons_io_version=2.14.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/sakurawald/config/Configs.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ public class Configs {
public static final ConfigHandler<PvPModel> pvpHandler = new ObjectConfigHandler<>("pvp.json", PvPModel.class);
public static final ConfigHandler<WorksModel> worksHandler = new ObjectConfigHandler<>("works.json", WorksModel.class);
public static final ConfigHandler<HeadModel> headHandler = new ObjectConfigHandler<>("head.json", HeadModel.class);
public static final ConfigHandler<SchedulerModule> schedulerHandler = new ObjectConfigHandler<>("scheduler.json", SchedulerModule.class);
public static final ConfigHandler<SchedulerModel> schedulerHandler = new ObjectConfigHandler<>("scheduler.json", SchedulerModel.class);
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.util.ArrayList;
import java.util.List;

public class SchedulerModule {
public class SchedulerModel {

public List<ScheduleJob> scheduleJobs = new ArrayList<>() {
{
Expand Down

0 comments on commit a42ecdd

Please sign in to comment.