Skip to content

Commit 179c580

Browse files
committed
Fix
1 parent 54b368a commit 179c580

23 files changed

+75
-54
lines changed

dependencies.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,13 @@
3838
* For more details, see https://docs.gradle.org/8.4/userguide/java_library_plugin.html#sec:java_library_configurations_graph
3939
*/
4040
dependencies {
41+
// Published dependencies
42+
api("codechicken:codechickenlib:3.2.3.358") // CCL 3.2.3.358
43+
api("com.cleanroommc:groovyscript:1.1.2") { transitive = false } // GrS 1.1.2
44+
api("CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.20.700") // CrT 4.1.20.700
45+
api("appeng:ae2-uel:v0.56.4") { transitive = false } // AE2 0.56.4(IAEWrench access error)
46+
api rfg.deobf("curse.maven:ctm-267602:2915363") // CTM 1.0.2.31
4147

48+
// Hard Dependencies
49+
devOnlyNonPublishable(rfg.deobf("curse.maven:gregtech-ce-unofficial-557242:5519022")) // CEu 2.8.10
4250
}

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ modName = TestMod
33
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
44
modId = testmod
55

6-
modGroup = gtexpert.testmod
6+
modGroup = com.github.gtexpert.testmod
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.
1010
modVersion = 1.0.0
1111

1212
# Whether to use the old jar naming structure (modid-mcversion-version) instead of the new version (modid-version)
13-
includeMCVersionJar = false
13+
includeMCVersionJar = true
1414

1515
# The name of your jar when you produce builds, not including any versioning info
1616
modArchivesBaseName = testmod
@@ -44,7 +44,7 @@ enableModernJavaSyntax = true
4444
enableJava17RunTasks = false
4545

4646
# Generate a class with String fields for the mod id, name and version named with the fields below
47-
generateGradleTokenClass = gtexpert.testmod.Tags
47+
generateGradleTokenClass = com.github.gtexpert.testmod.Tags
4848
gradleTokenModId = MODID
4949
gradleTokenModName = MODNAME
5050
gradleTokenVersion = VERSION
@@ -78,7 +78,7 @@ coreModClass =
7878
containsMixinsAndOrCoreModOnly = false
7979

8080
# Enables Mixins even if this mod doesn't use them, useful if one of the dependencies uses mixins.
81-
forceEnableMixins = false
81+
forceEnableMixins = true
8282

8383
# Outputs pre-transformed and post-transformed loaded classes to run/CLASSLOADER_TEMP. Can be used in combination with
8484
# diff to see exactly what your ASM or Mixins are changing in the target file.
@@ -178,7 +178,7 @@ mavenArtifactGroup =
178178
# By default this will use the files found here: https://github.com/GTModpackTeam/Buildscripts/tree/master/spotless
179179
# to format your code. However, you can create your own version of these files and place them in your project's
180180
# root directory to apply your own formatting options instead.
181-
enableSpotless = false
181+
enableSpotless = true
182182

183183
# Enable JUnit testing platform used for testing your code.
184184
# Uses JUnit 5. See guide and documentation here: https://junit.org/junit5/docs/current/user-guide/

settings.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ 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 {

spotless/spotless.importorder

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#Organize Import Order
2-
#Sat Jan 28 17:57:48 GMT 2023
32
0=java
43
1=javax
54
2=net
65
3=org
76
4=com
7+
5=gregtech
8+
6=gregicality
9+
7=com.github.gtexpert

src/main/java/gtexpert/testmod/TestMod.java renamed to src/main/java/com/github/gtexpert/testmod/TestMod.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package gtexpert.testmod;
1+
package com.github.gtexpert.testmod;
22

3-
import gtexpert.testmod.api.util.ModLog;
4-
import gtexpert.testmod.module.ModuleManager;
5-
import gtexpert.testmod.module.Modules;
3+
import com.github.gtexpert.testmod.api.util.ModLog;
4+
import com.github.gtexpert.testmod.module.ModuleManager;
5+
import com.github.gtexpert.testmod.module.Modules;
66
import net.minecraft.block.Block;
77
import net.minecraft.item.Item;
88
import net.minecraft.item.crafting.IRecipe;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.github.gtexpert.testmod.api;
2+
3+
import com.github.gtexpert.testmod.Tags;
4+
5+
public class ModValues {
6+
public static final String MODID = Tags.MODID;
7+
}

src/main/java/gtexpert/testmod/api/modules/IModule.java renamed to src/main/java/com/github/gtexpert/testmod/api/modules/IModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package gtexpert.testmod.api.modules;
1+
package com.github.gtexpert.testmod.api.modules;
22

33

44
import java.util.Collections;
@@ -91,4 +91,4 @@ default boolean processIMC(FMLInterModComms.IMCMessage message) {
9191
*/
9292
@NotNull
9393
Logger getLogger();
94-
}
94+
}

src/main/java/gtexpert/testmod/api/modules/IModuleContainer.java renamed to src/main/java/com/github/gtexpert/testmod/api/modules/IModuleContainer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package gtexpert.testmod.api.modules;
1+
package com.github.gtexpert.testmod.api.modules;
22

33
public interface IModuleContainer {
44
/**
55
* The ID of this container. If this is your mod's only container, you should use your mod ID to prevent collisions.
66
*/
77
String getID();
8-
}
8+
}

src/main/java/gtexpert/testmod/api/modules/IModuleManager.java renamed to src/main/java/com/github/gtexpert/testmod/api/modules/IModuleManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package gtexpert.testmod.api.modules;
1+
package com.github.gtexpert.testmod.api.modules;
22

3-
import gtexpert.testmod.api.util.ModUtility;
3+
import com.github.gtexpert.testmod.api.util.ModUtility;
44
import net.minecraft.util.ResourceLocation;
55

66
public interface IModuleManager {

src/main/java/gtexpert/testmod/api/modules/ModuleContainer.java renamed to src/main/java/com/github/gtexpert/testmod/api/modules/ModuleContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package gtexpert.testmod.api.modules;
1+
package com.github.gtexpert.testmod.api.modules;
22

33
import java.lang.annotation.ElementType;
44
import java.lang.annotation.Retention;

0 commit comments

Comments
 (0)