-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a dummy RFB plugin to allow classes to be used earlier in the loa…
…ding process (#37) * Add a dummy RFB plugin to allow classes to be used earlier in the loading process * Remove useless buildscript version comment
- Loading branch information
1 parent
f6f9939
commit a0dad2c
Showing
6 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
plugins { | ||
id("com.gtnewhorizons.gtnhconvention") | ||
} | ||
|
||
tasks.processResources { | ||
inputs.property("version", project.version.toString()) | ||
filesMatching("META-INF/rfb-plugin/*") { | ||
expand("version" to project.version.toString()) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/main/java/com/gtnewhorizon/gtnhlib/rfb/GTNHLibRfbPlugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.gtnewhorizon.gtnhlib.rfb; | ||
|
||
import com.gtnewhorizons.retrofuturabootstrap.api.RfbPlugin; | ||
|
||
public class GTNHLibRfbPlugin implements RfbPlugin { | ||
/* | ||
* Doesn't currently do anything, other than force the mod to load with RFB plugins so Angelica can use its | ||
* functions in mixins/asm | ||
*/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name=GTNHLib | ||
version=${version} | ||
additionalVersions= | ||
className=com.gtnewhorizon.gtnhlib.rfb.GTNHLibRfbPlugin | ||
transformerExclusions= | ||
versionConstraints= | ||
loadBefore= | ||
loadAfter= | ||
loadRequires= |