Skip to content

Commit

Permalink
build: 0.1.0+beta.1+neoforge
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Dec 31, 2024
1 parent bad4c6d commit 00d9474
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion FlowSched
Submodule FlowSched updated 24 files
+12 −2 build.gradle
+1 −0 gradle.properties
+1 −1 gradle/wrapper/gradle-wrapper.properties
+69 −31 src/main/java/com/ishland/flowsched/executor/ExecutorManager.java
+9 −8 src/main/java/com/ishland/flowsched/executor/WorkerThread.java
+83 −0 src/main/java/com/ishland/flowsched/scheduler/BusyRefCounter.java
+70 −0 src/main/java/com/ishland/flowsched/scheduler/CancellationSignaller.java
+141 −0 src/main/java/com/ishland/flowsched/scheduler/DaemonizedStatusAdvancingScheduler.java
+14 −0 src/main/java/com/ishland/flowsched/scheduler/ExceptionHandlingAction.java
+415 −0 src/main/java/com/ishland/flowsched/scheduler/ItemHolder.java
+74 −0 src/main/java/com/ishland/flowsched/scheduler/ItemStatus.java
+101 −0 src/main/java/com/ishland/flowsched/scheduler/ItemTicket.java
+50 −0 src/main/java/com/ishland/flowsched/scheduler/KeyStatusPair.java
+44 −0 src/main/java/com/ishland/flowsched/scheduler/ObjectFactory.java
+51 −0 src/main/java/com/ishland/flowsched/scheduler/README.md
+511 −0 src/main/java/com/ishland/flowsched/scheduler/StatusAdvancingScheduler.java
+98 −0 src/main/java/com/ishland/flowsched/scheduler/TicketSet.java
+46 −41 src/main/java/com/ishland/flowsched/structs/DynamicPriorityQueue.java
+9 −5 src/main/java/com/ishland/flowsched/util/Assertions.java
+60 −0 src/test/java/com/ishland/flowsched/scheduler/SchedulerTest.java
+4 −0 src/test/java/com/ishland/flowsched/scheduler/support/TestContext.java
+4 −0 src/test/java/com/ishland/flowsched/scheduler/support/TestItem.java
+49 −0 src/test/java/com/ishland/flowsched/scheduler/support/TestSchedulerImpl.java
+55 −0 src/test/java/com/ishland/flowsched/scheduler/support/TestStatus.java
10 changes: 7 additions & 3 deletions patches/main/0002-Port-to-NeoForge.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Subject: [PATCH] Port to NeoForge


diff --git a/build.gradle b/build.gradle
index ed6d51b..5628736 100644
index ed6d51b..99b2061 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,5 @@
Expand All @@ -15,8 +15,12 @@ index ed6d51b..5628736 100644
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
@@ -31,12 +31,16 @@ archivesBaseName = project.archives_base_name
version = project.mod_version + "+fabric." + getGitCommit()
@@ -28,15 +28,19 @@ def getGitCommit = { ->
}

archivesBaseName = project.archives_base_name
-version = project.mod_version + "+fabric." + getGitCommit()
+version = project.mod_version + "+neoforge." + getGitCommit()
group = project.maven_group

+repositories {
Expand Down
18 changes: 18 additions & 0 deletions patches/main/0003-Set-Version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: ishland <[email protected]>
Date: Tue, 31 Dec 2024 21:14:16 +0800
Subject: [PATCH] Set Version


diff --git a/gradle.properties b/gradle.properties
index da2822a..8216a2b 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -7,6 +7,6 @@ loom.platform=neoforge
minecraft_version=1.21.1
forge_version=21.1.92
# Mod Properties
-mod_version=0.1.0
+mod_version=0.1.0+beta.1
maven_group=ca.spottedleaf.starlight
archives_base_name=ScalableLux

0 comments on commit 00d9474

Please sign in to comment.