Skip to content

Commit 1a301dd

Browse files
authored
Update build & readme to mention Forgelin dependency (#15)
* Remove outdated scripts * updateBuildScript * updateDependencies * Update .gitignore * Update Readme to include Forgelin as dependency
1 parent daeaa90 commit 1a301dd

File tree

11 files changed

+37
-96
lines changed

11 files changed

+37
-96
lines changed

.github/scripts/test-no-error-reports.sh

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

.github/scripts/update_version

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

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,14 @@ whitelist.json
2626
*.iml
2727
*.ipr
2828
*.iws
29-
src/main/resources/mixins.*.json
29+
src/main/resources/mixins.*([!.]).json
3030
*.bat
3131
*.DS_Store
3232
!gradlew.bat
3333
*.kra
34+
.factorypath
35+
addon.local.gradle
36+
addon.local.gradle.kts
37+
addon.late.local.gradle
38+
addon.late.local.gradle.kts
39+
layout.json

README.md

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ This mod brings a reworked research table GUI.
44

55
![new UI](doc/example-gui.png)
66

7+
## Dependency
8+
This mod requires [Forgelin](https://github.com/GTNewHorizons/Forgelin/tags) to work.
9+
710
## Features
811
Tutorial and research pages where expanded to include explanations on new features.
912

@@ -89,36 +92,6 @@ Useful commands:
8992
**Probable Cause**: Mod X creates its aspects on `FMLLoadCompleteEvent` or later
9093
which causes aspect caching of this mod to miss it.
9194

92-
**Solutions**:
93-
1. Move aspect creation of mod X earlier (e.g. FMLInitializeEvent).
94-
This would be a preferred solution since aspects should be created early if possible.
95-
2. Drop `AspectTree` initialization in `elan.tweaks.thaumcraft.research.frontend.integration.proxies.ClientSingletonInitializer`
96-
(two lines, one creating the tree and second one printing).
97-
This will cause caching on first UI opening.
98-
This is not crucial, but somewhat reduces UX, since it will cause a small delay
99-
100-
## Known issues
101-
102-
### Aspect from mod X is not showing up in the aspect pools.
103-
104-
**Probable Cause**: Mod X creates its aspects on `FMLLoadCompleteEvent` or later
105-
which causes aspect caching of this mod to miss it.
106-
107-
**Solutions**:
108-
1. Move aspect creation of mod X earlier (e.g. FMLInitializeEvent).
109-
This would be a preferred solution since aspects should be created early if possible.
110-
2. Drop `AspectTree` initialization in `elan.tweaks.thaumcraft.research.frontend.integration.proxies.ClientSingletonInitializer`
111-
(two lines, one creating the tree and second one printing).
112-
This will cause caching on first UI opening.
113-
This is not crucial, but somewhat reduces UX, since it will cause a small delay
114-
115-
## Known issues
116-
117-
### Aspect from mod X is not showing up in the aspect pools.
118-
119-
**Probable Cause**: Mod X creates its aspects on `FMLLoadCompleteEvent` or later
120-
which causes aspect caching of this mod to miss it.
121-
12295
**Solutions**:
12396
1. Move aspect creation of mod X earlier (e.g. FMLInitializeEvent).
12497
This would be a preferred solution since aspects should be created early if possible.

dependencies.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
// Add your dependencies here
22

3-
repositories {
4-
mavenLocal()
5-
}
6-
73
dependencies {
8-
api 'com.github.GTNewHorizons:Forgelin:1.9.8-GTNH'
4+
api 'com.github.GTNewHorizons:Forgelin:1.10.0-GTNH'
95

106
// Thaumcraft
117
implementation 'thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev'

gradle.properties

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ channel = stable
3333
mappingsVersion = 12
3434

3535
# Defines other MCP mappings for dependency deobfuscation.
36-
remoteMappings = https://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/conf/
36+
remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/conf/
3737

3838
# Select a default username for testing your mod. You can always override this per-run by running
3939
# `./gradlew runClient --username=AnotherPlayer`, or configuring this command in your IDE.
@@ -55,19 +55,16 @@ generateGradleTokenClass =
5555
# Name of the token containing the project's current version to generate/replace.
5656
gradleTokenVersion = GRADLETOKEN_VERSION
5757

58-
# [DEPRECATED] Mod ID replacement token.
59-
gradleTokenModId =
60-
61-
# [DEPRECATED] Mod name replacement token.
62-
gradleTokenModName =
58+
# [DEPRECATED] Mod Group replacement token.
59+
gradleTokenGroupName =
6360

6461
# [DEPRECATED]
6562
# Multiple source files can be defined here by providing a comma-separated list: Class1.java,Class2.java,Class3.java
6663
# public static final String VERSION = "GRADLETOKEN_VERSION";
6764
# The string's content will be replaced with your mod's version when compiled. You should use this to specify your mod's
6865
# version in @Mod([...], version = VERSION, [...]).
6966
# Leave these properties empty to skip individual token replacements.
70-
replaceGradleTokenInFile = Tags.java
67+
# replaceGradleTokenInFile =
7168

7269
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
7370
# leave this property empty.
@@ -82,6 +79,11 @@ accessTransformersFile =
8279
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
8380
usesMixins = true
8481

82+
# Set to a non-empty string to configure mixins in a separate source set under src/VALUE, instead of src/main.
83+
# This can speed up compile times thanks to not running the mixin annotation processor on all input sources.
84+
# Mixin classes will have access to "main" classes, but not the other way around.
85+
separateMixinSourceSet =
86+
8587
# Adds some debug arguments like verbose output and class export.
8688
usesMixinDebug = false
8789

@@ -114,16 +116,22 @@ minimizeShadowedDependencies = true
114116
# If disabled, won't rename the shadowed classes.
115117
relocateShadowedDependencies = true
116118

117-
# Adds the GTNH maven, CurseMaven, IC2/Player maven, and some more well-known 1.7.10 repositories.
119+
# Adds CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
118120
includeWellKnownRepositories = true
119121

122+
# A list of repositories to exclude from the includeWellKnownRepositories setting. Should be a space separated
123+
# list of strings, with the acceptable keys being(case does not matter):
124+
# cursemaven
125+
# modrinth
126+
excludeWellKnownRepositories =
127+
120128
# Change these to your Maven coordinates if you want to publish to a custom Maven repository instead of the default GTNH Maven.
121129
# Authenticate with the MAVEN_USER and MAVEN_PASSWORD environment variables.
122130
# If you need a more complex setup disable maven publishing here and add a publishing repository to addon.gradle.
123131
usesMavenPublishing = true
124132

125133
# Maven repository to publish the mod to.
126-
# mavenPublishUrl = https://nexus.gtnewhorizons.com/repository/releases/
134+
# mavenPublishUrl = https\://nexus.gtnewhorizons.com/repository/releases/
127135

128136
# Publishing to Modrinth requires you to set the MODRINTH_TOKEN environment variable to your current Modrinth API token.
129137
#
@@ -187,5 +195,3 @@ curseForgeRelations =
187195
# This is meant to be set in $HOME/.gradle/gradle.properties.
188196
# ideaCheckSpotlessOnBuild = true
189197

190-
# Non-GTNH properties
191-
gradleTokenGroupName =

gradle/wrapper/gradle-wrapper.jar

42 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.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 5 additions & 2 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 & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)