Skip to content

Commit 8bcae52

Browse files
Merge pull request #48 from OrnitheMC/networking-rewrite
Networking rewrite
2 parents 37e23fc + 8506609 commit 8bcae52

448 files changed

Lines changed: 16778 additions & 15275 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/build.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ jobs:
1616
- uses: actions/setup-java@v4
1717
with:
1818
distribution: 'temurin'
19-
java-version: '17'
19+
java-version: '21'
2020

21-
- name: validate gradle wrapper
21+
- name: wrapper validation
2222
uses: gradle/actions/wrapper-validation@v4
2323

24+
- name: make gradle wrapper executable
25+
if: ${{ runner.os != 'Windows' }}
26+
run: chmod +x ./gradlew
27+
2428
- name: build
2529
run: ./gradlew build --stacktrace
2630

‎.github/workflows/publish.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@ name: Release
22
on: [workflow_dispatch] # Manual trigger
33
jobs:
44
build:
5-
runs-on: ${{ matrix.os }}
5+
runs-on: ubuntu-24.04
66
steps:
77
- name: checkout repository
88
uses: actions/checkout@v4
99

1010
- uses: actions/setup-java@v4
1111
with:
1212
distribution: 'temurin'
13-
java-version: '17'
13+
java-version: '21'
1414

15-
- name: validate gradle wrapper
15+
- name: wrapper validation
1616
uses: gradle/actions/wrapper-validation@v4
1717

18+
- name: make gradle wrapper executable
19+
if: ${{ runner.os != 'Windows' }}
20+
run: chmod +x ./gradlew
21+
1822
- name: build
1923
run: ./gradlew build publish --stacktrace
2024
env:

‎build.gradle‎

Lines changed: 4 additions & 4 deletions
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 'fabric-loom' version '1.10-SNAPSHOT' apply false
7-
id 'ploceus' version '1.10-SNAPSHOT' apply false
6+
id 'fabric-loom' version '1.12-SNAPSHOT' apply false
7+
id 'ploceus' version '1.12-SNAPSHOT' apply false
88
}
99

1010
setUpJar(project)
@@ -49,7 +49,7 @@ def setUpJar(project) {
4949
project.group = "${project.rootProject.root_maven_group}"
5050

5151
project.ploceus {
52-
setGeneration(2)
52+
setIntermediaryGeneration(2)
5353
}
5454

5555
project.repositories {
@@ -194,7 +194,7 @@ def setUpModule(project, String... dependencies) {
194194
}
195195
}
196196
project.ploceus {
197-
setGeneration(2)
197+
setIntermediaryGeneration(2)
198198
}
199199

200200
def libraries = getLibraryDependencies(project, dependencies)

‎gradle/wrapper/gradle-wrapper.jar‎

181 Bytes
Binary file not shown.

‎gradle/wrapper/gradle-wrapper.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

‎gradlew‎

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎gradlew.bat‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
setUpLibrary(project)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version = 0.1.0
2+
archives_base_name = networking-impl
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
setUpModule(project,
2+
'entrypoints-mc13w16a-04192037-mc1.14.4',
3+
'lifecycle-events-mc13w36a-09051446-mc1.13',
4+
'networking-mc13w41a-mc18w30b'
5+
)

0 commit comments

Comments
 (0)