Skip to content

Commit b3bcb4e

Browse files
authored
Merge pull request #295 from GTModpackTeam/fix-paper
2 parents 955d63b + 0af9094 commit b3bcb4e

File tree

11 files changed

+77
-40
lines changed

11 files changed

+77
-40
lines changed

.github/workflows/build_and_test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ jobs:
3131
- name: Checkout Repository
3232
uses: actions/checkout@v4
3333

34-
- name: Apply patch to settings.gradle
35-
run: |
36-
if [ -f settings.gradle.patch ]; then
37-
patch -p0 < settings.gradle.patch
38-
fi
39-
4034
- name: Apply patch to gradle.properties
4135
run: sed -i 's/debug_all = false/debug_all = true/g' gradle.properties
4236

.github/workflows/test_java.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ jobs:
2222
- name: Checkout Repository
2323
uses: actions/checkout@v4
2424

25-
- name: Apply patch to settings.gradle
26-
run: |
27-
if [ -f settings.gradle.patch ]; then
28-
patch -p0 < settings.gradle.patch
29-
fi
30-
3125
- name: Apply patch to build.gradle
3226
run: sed -i 's/debug_all = false/debug_all = true/g' gradle.properties
3327

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# v2.2.14
2+
## Ender IO
3+
- Fix Black Paper
4+
5+
## GregTech Food Options
6+
- Kitchen Recipe
7+
8+
* * *
9+
110
# v2.2.13
211
- Fix upgrade recipe to Nano Boots from Piston Boots.
312

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
//version: 1723428048
1+
//version: 1725973221
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/GregTechCEu/Buildscripts/blob/master/build.gradle for updates.
5+
* Please check https://github.com/GTModpackTeam/Buildscripts/blob/master/build.gradle for updates.
66
* You can also run ./gradlew updateBuildScript to update your buildscript.
77
*/
88

@@ -1423,11 +1423,11 @@ if (!project.getGradle().startParameter.isOffline() && !Boolean.getBoolean('DISA
14231423
}
14241424

14251425
static URL availableBuildScriptUrl() {
1426-
new URL("https://raw.githubusercontent.com/GregTechCEu/Buildscripts/master/build.gradle")
1426+
new URL("https://raw.githubusercontent.com/GTModpackTeam/Buildscripts/master/build.gradle")
14271427
}
14281428

14291429
static URL availableSettingsGradleUrl() {
1430-
new URL("https://raw.githubusercontent.com/GregTechCEu/Buildscripts/master/settings.gradle")
1430+
new URL("https://raw.githubusercontent.com/GTModpackTeam/Buildscripts/master/settings.gradle")
14311431
}
14321432

14331433
boolean performBuildScriptUpdate() {
@@ -1476,8 +1476,8 @@ tasks.register('faq') {
14761476
"To add new repositories to your project, place them in 'repositories.gradle'.\n" +
14771477
"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" +
14781478
"If your build fails to recognize the syntax of newer Java versions, enable Jabel in your 'gradle.properties' under the option name 'enableModernJavaSyntax'.\n" +
1479-
"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" +
1480-
"Report any issues or feature requests you have for this build script to https://github.com/GregTechCEu/Buildscripts/issues\n")
1479+
"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" +
1480+
"Report any issues or feature requests you have for this build script to https://github.com/GTModpackTeam/Buildscripts/issues\n")
14811481
}
14821482
}
14831483

@@ -1495,7 +1495,7 @@ def getFile(String relativePath) {
14951495

14961496
def checkPropertyExists(String propertyName) {
14971497
if (!project.hasProperty(propertyName)) {
1498-
throw new GradleException("This project requires a property \"" + propertyName + "\"! Please add it your \"gradle.properties\". You can find all properties and their description here: https://github.com/GregTechCEu/Buildscripts/blob/main/gradle.properties")
1498+
throw new GradleException("This project requires a property \"" + propertyName + "\"! Please add it your \"gradle.properties\". You can find all properties and their description here: https://github.com/GTModpackTeam/Buildscripts/blob/main/gradle.properties")
14991499
}
15001500
}
15011501

dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* - shadowapi("g:n:v:c"): effectively the same as API, but the dependency is included in your jar under a renamed package name
2323
* Requires you to enable usesShadowedDependencies in gradle.properties
24-
* For more info, see https://github.com/GregTechCEu/Buildscripts/blob/master/docs/shadow.md
24+
* For more info, see https://github.com/GTModpackTeam/Buildscripts/blob/master/docs/shadow.md
2525
*
2626
* You can exclude transitive dependencies (dependencies of the chosen dependency) by appending { transitive = false } if needed,
2727
* but use this sparingly as it can break using your mod as another mod's dependency if you're not careful.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ modGroup = gtexpert
77

88
# Version of your mod.
99
# This field can be left empty if you want your mod's version to be determined by the latest git tag instead.
10-
modVersion = 2.2.13-beta
10+
modVersion = 2.2.13-beta
1111

1212
# Whether to use the old jar naming structure (modid-mcversion-version) instead of the new version (modid-version)
1313
includeMCVersionJar = true
@@ -190,7 +190,7 @@ mavenArtifactGroup =
190190

191191
# Enable spotless checks
192192
# Enforces code formatting on your source code
193-
# By default this will use the files found here: https://github.com/GregTechCEu/Buildscripts/tree/master/spotless
193+
# By default this will use the files found here: https://github.com/GTModpackTeam/Buildscripts/tree/master/spotless
194194
# to format your code. However, you can create your own version of these files and place them in your project's
195195
# root directory to apply your own formatting options instead.
196196
enableSpotless = true

settings.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,22 @@ plugins {
2020
id 'com.diffplug.blowdryerSetup' version '1.7.0'
2121
// Automatic toolchain provisioning
2222
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
23+
id 'com.gradle.enterprise' version '3.18.1'
24+
}
25+
26+
gradleEnterprise {
27+
if (System.getenv("CI") != null) {
28+
buildScan {
29+
publishAlways()
30+
termsOfServiceUrl = "https://gradle.com/terms-of-service"
31+
termsOfServiceAgree = "yes"
32+
}
33+
}
2334
}
2435

2536
blowdryerSetup {
2637
repoSubfolder 'spotless'
27-
github 'GregTechCEu/Buildscripts', 'tag', 'v1.0.7'
38+
github 'GTModpackTeam/Buildscripts', 'tag', 'v1.0.1'
2839
}
2940

3041
rootProject.name = rootProject.projectDir.getName()

settings.gradle.patch

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/main/java/gtexpert/integration/eio/recipes/EIOItemsRecipe.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@
2424
public class EIOItemsRecipe {
2525

2626
public static void init() {
27+
// Black Paper
28+
ModHandler.removeRecipeByOutput(Mods.EnderIO.getItem("item_material", 1, 77));
29+
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder()
30+
.input(Items.PAPER)
31+
.input("dyeBlack")
32+
.circuitMeta(2)
33+
.outputs(Mods.EnderIO.getItem("item_material", 1, 77))
34+
.duration(100).EUt(4).buildAndRegister();
35+
RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder()
36+
.input(Items.PAPER)
37+
.fluidInputs(Materials.DyeBlack.getFluid(72))
38+
.circuitMeta(2)
39+
.outputs(Mods.EnderIO.getItem("item_material", 1, 77))
40+
.duration(100).EUt(4).buildAndRegister();
41+
2742
// Enderman Head
2843
RecipeMaps.LARGE_CHEMICAL_RECIPES.recipeBuilder()
2944
.circuitMeta(5)

src/main/java/gtexpert/integration/gtfo/GTFOModule.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import gtexpert.api.util.Mods;
99
import gtexpert.integration.GTEIntegrationSubmodule;
1010
import gtexpert.integration.gtfo.recipes.GTFOChemicalRecipe;
11+
import gtexpert.integration.gtfo.recipes.GTFOItemsRecipe;
1112
import gtexpert.integration.gtfo.recipes.GTFOWoodRecipe;
1213
import gtexpert.modules.GTEModules;
1314

@@ -21,6 +22,7 @@ public class GTFOModule extends GTEIntegrationSubmodule {
2122

2223
@Override
2324
public void registerRecipesLowest(RegistryEvent.Register<IRecipe> event) {
25+
GTFOItemsRecipe.init();
2426
GTFOWoodRecipe.init();
2527
GTFOChemicalRecipe.init();
2628
}

0 commit comments

Comments
 (0)