Skip to content

Commit 5555ead

Browse files
committed
CEuの更新分を同期
1 parent 4ec07d0 commit 5555ead

File tree

5 files changed

+33
-31
lines changed

5 files changed

+33
-31
lines changed

.github/workflows/build-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v5
1414

1515
- name: Set release version
1616
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

.github/workflows/buildscript-maintenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
pull-requests: write
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
- name: Ensure build script version is up to date
3030
id: update-buildscript

.github/workflows/validate_gradle_wrapper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout Repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2727

2828
- name: Validate Gradle Wrapper
2929
uses: gradle/actions/wrapper-validation@v3

build.gradle

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
//version: 1753288091
1+
//version: 1762213476
22
/*
33
* DO NOT CHANGE THIS FILE!
44
* Also, you may replace this file at any time if there is an update available.
5-
* Please check https://github.com/GTModpackTeam/Buildscripts/blob/master/build.gradle for updates.
5+
* Please check https://github.com/GregTechCEu/Buildscripts/blob/master/build.gradle for updates.
66
* You can also run ./gradlew updateBuildScript to update your buildscript.
77
*/
88

@@ -318,14 +318,6 @@ tasks.withType(ScalaCompile).configureEach {
318318
}
319319

320320

321-
// Allow others using this buildscript to have custom gradle code run
322-
if (getFile('addon.gradle').exists()) {
323-
apply from: 'addon.gradle'
324-
} else if (getFile('addon.gradle.kts').exists()) {
325-
apply from: 'addon.gradle.kts'
326-
}
327-
328-
329321
// Configure Minecraft
330322

331323
// Try to gather mod version from git tags if version is not manually specified
@@ -372,6 +364,9 @@ minecraft {
372364

373365
// JVM arguments
374366
extraRunJvmArguments.add("-ea:${modGroup}")
367+
368+
// enable JLine Terminal since idea_rt.jar is no longer added to the classpath
369+
extraRunJvmArguments.add('-Dterminal.jline=true')
375370
if (usesMixins.toBoolean()) {
376371
extraRunJvmArguments.addAll([
377372
'-Dmixin.hotSwap=true',
@@ -1425,11 +1420,11 @@ if (!project.getGradle().startParameter.isOffline() && !Boolean.getBoolean('DISA
14251420
}
14261421

14271422
static URL availableBuildScriptUrl() {
1428-
new URL("https://raw.githubusercontent.com/GTModpackTeam/Buildscripts/master/build.gradle")
1423+
new URL("https://raw.githubusercontent.com/GregTechCEu/Buildscripts/master/build.gradle")
14291424
}
14301425

14311426
static URL availableSettingsGradleUrl() {
1432-
new URL("https://raw.githubusercontent.com/GTModpackTeam/Buildscripts/master/settings.gradle")
1427+
new URL("https://raw.githubusercontent.com/GregTechCEu/Buildscripts/master/settings.gradle")
14331428
}
14341429

14351430
boolean performBuildScriptUpdate() {
@@ -1478,8 +1473,8 @@ tasks.register('faq') {
14781473
"To add new repositories to your project, place them in 'repositories.gradle'.\n" +
14791474
"If you need additional gradle code to run, you can place it in a file named 'addon.gradle' (or either of the above, up to you for organization).\n\n" +
14801475
"If your build fails to recognize the syntax of newer Java versions, enable Jabel in your 'buildscript.properties' under the option name 'enableModernJavaSyntax'.\n" +
1481-
"To see information on how to configure your IDE properly for Java 17, see https://github.com/GTModpackTeam/Buildscripts/blob/master/docs/jabel.md\n\n" +
1482-
"Report any issues or feature requests you have for this build script to https://github.com/GTModpackTeam/Buildscripts/issues\n")
1476+
"To see information on how to configure your IDE properly for Java 17, see https://github.com/GregTechCEu/Buildscripts/blob/master/docs/jabel.md\n\n" +
1477+
"Report any issues or feature requests you have for this build script to https://github.com/GregTechCEu/Buildscripts/issues\n")
14831478
}
14841479
}
14851480

@@ -1511,7 +1506,7 @@ def getFile(String relativePath) {
15111506

15121507
def checkPropertyExists(String propertyName) {
15131508
if (!project.hasProperty(propertyName)) {
1514-
throw new GradleException("This project requires a property \"" + propertyName + "\"! Please add it your \"buildscript.properties\" or \"gradle.properties\". You can find all properties and their description here: https://github.com/GTModpackTeam/Buildscripts/blob/main/buildscript.properties and https://github.com/GTModpackTeam/Buildscripts/blob/main/gradle.properties")
1509+
throw new GradleException("This project requires a property \"" + propertyName + "\"! Please add it your \"buildscript.properties\" or \"gradle.properties\". You can find all properties and their description here: https://github.com/GregTechCEu/Buildscripts/blob/main/buildscript.properties and https://github.com/GregTechCEu/Buildscripts/blob/main/gradle.properties")
15151510
}
15161511
}
15171512

@@ -1549,3 +1544,11 @@ def getLastTag() {
15491544
return runShell('git describe --abbrev=0 --tags ' +
15501545
(githubTag.isPresent() ? runShell('git rev-list --tags --skip=1 --max-count=1') : ''))
15511546
}
1547+
1548+
1549+
// Allow others using this buildscript to have custom gradle code run
1550+
if (getFile('addon.gradle').exists()) {
1551+
apply from: 'addon.gradle'
1552+
} else if (getFile('addon.gradle.kts').exists()) {
1553+
apply from: 'addon.gradle.kts'
1554+
}

buildscript.properties

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
#
2+
# The "buildscript.properties" file contains settings loaded and used by the "build.gradle" file.
3+
# For settings loaded in all gradle files or custom settings, use "gradle.properties" instead.
4+
# New properties should not be created in this file, use "gradle.properties" instead.
5+
#
6+
7+
# The name of your mod. Can be any sequence of characters.
18
modName = TestMod
29

3-
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
10+
# This is a case-sensitive string to identify your mod.
11+
# Must be less than 64 characters and all lowercase. Convention is to only contain alphabetic characters.
412
modId = testmod
513

14+
# Project package location.
615
modGroup = com.github.gtexpert.testmod
716

817
# Version of your mod.
@@ -64,10 +73,8 @@ accessTransformersFile =
6473

6574
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
6675
usesMixins = false
67-
6876
# Mixin Provider to use. Primarily changed when needing to use a different version.
69-
mixinProviderSpec = zone.rong:mixinbooter:9.4
70-
77+
mixinProviderSpec = zone.rong:mixinbooter:10.6
7178
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
7279
mixinsPackage =
7380
# Location of the mixin config refmap. If left, blank, defaults to "mixins.${modId}.refmap.json". Target file must have the "json" extension.
@@ -179,7 +186,7 @@ mavenArtifactGroup =
179186

180187
# Enable spotless checks
181188
# Enforces code formatting on your source code
182-
# By default this will use the files found here: https://github.com/GTModpackTeam/Buildscripts/tree/master/spotless
189+
# By default this will use the files found here: https://github.com/GregTechCEu/Buildscripts/tree/master/spotless
183190
# to format your code. However, you can create your own version of these files and place them in your project's
184191
# root directory to apply your own formatting options instead.
185192
enableSpotless = true
@@ -192,11 +199,3 @@ enableJUnit = true
192199
# Uncomment this to test deployments to CurseForge and Modrinth
193200
# Alternatively, you can set the 'DEPLOYMENT_DEBUG' environment variable.
194201
deploymentDebug = false
195-
196-
197-
# Gradle Settings
198-
# Effectively applies the '--stacktrace' flag by default
199-
org.gradle.logging.stacktrace = all
200-
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
201-
# This is required to provide enough memory for the Minecraft decompilation process.
202-
org.gradle.jvmargs = -Xmx3G

0 commit comments

Comments
 (0)