Add a dummy RFB plugin to allow classes to be used earlier in the loading process (#37)

* Add a dummy RFB plugin to allow classes to be used earlier in the loading process

* Remove useless buildscript version comment
This commit is contained in:
Raven Szewczyk authored and GitHub committed 2024-02-28 21:23:02 +00:00
1 parent f6f993980e
commit a0dad2c0e6
6 files changed
+34 -7

No files matched your search

-5
View File
@@ -1,5 +0,0 @@
//version: 1707058017
plugins {
id 'com.gtnewhorizons.gtnhconvention'
}
+11
View File
@@ -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())
}
}
+2
View File
@@ -12,6 +12,8 @@ dependencies {
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine")
compileOnly("com.gtnewhorizons.retrofuturabootstrap:RetroFuturaBootstrap:0.4.0") { transitive = false }
compileOnly('org.jetbrains:annotations:24.0.1')
compileOnly("org.projectlombok:lombok:1.18.22") {transitive = false }
annotationProcessor("org.projectlombok:lombok:1.18.22")
@@ -9,8 +9,8 @@ import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
public class GTNHLibCore implements IFMLLoadingPlugin {
/*
* Doesn't currently do anything, other than force the mod to load with coremods so Hodgepodge can use it's
* functions in mixins/asm
* Doesn't currently do anything, other than force the mod to load with coremods so Hodgepodge can use its functions
* in mixins/asm
*/
@Override
public String[] getASMTransformerClass() {
@@ -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
*/
}
@@ -0,0 +1,9 @@
name=GTNHLib
version=${version}
additionalVersions=
className=com.gtnewhorizon.gtnhlib.rfb.GTNHLibRfbPlugin
transformerExclusions=
versionConstraints=
loadBefore=
loadAfter=
loadRequires=