mirror of
https://github.com/lukasabbe/bookshelf-inspector.git
synced 2026-04-30 10:40:53 +00:00
One more step, now i just need to figure out how to remove the requierment to run the mod on both server and client
This commit is contained in:
@@ -64,6 +64,7 @@ sourcesJar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
from(rootProject.file('LICENSE')) {
|
from(rootProject.file('LICENSE')) {
|
||||||
rename { "${it}_${mod_name}" }
|
rename { "${it}_${mod_name}" }
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ configurations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
implementation("org.yaml:snakeyaml:${project.YAML_snake}")
|
||||||
compileOnly(project(':common')) {
|
compileOnly(project(':common')) {
|
||||||
capabilities {
|
capabilities {
|
||||||
requireCapability "$group:$mod_id"
|
requireCapability "$group:$mod_id"
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ dependencies {
|
|||||||
|
|
||||||
modApi "me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config}"
|
modApi "me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config}"
|
||||||
modApi "com.terraformersmc:modmenu:${project.mod_menu}"
|
modApi "com.terraformersmc:modmenu:${project.mod_menu}"
|
||||||
include(implementation("org.yaml:snakeyaml:${project.YAML_snake}"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loom {
|
loom {
|
||||||
|
|||||||
@@ -43,4 +43,9 @@ neoForge {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
jarJar(implementation("org.yaml:snakeyaml")){}
|
||||||
|
additionalRuntimeClasspath "org.yaml:snakeyaml:2.4"
|
||||||
|
}
|
||||||
|
|
||||||
sourceSets.main.resources { srcDir 'src/generated/resources' }
|
sourceSets.main.resources { srcDir 'src/generated/resources' }
|
||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
package com.lukasabbe.bookshelfinspector;
|
package com.lukasabbe.bookshelfinspector;
|
||||||
|
|
||||||
import net.neoforged.bus.api.IEventBus;
|
import net.neoforged.bus.api.IEventBus;
|
||||||
import net.neoforged.fml.ModList;
|
|
||||||
import net.neoforged.fml.ModLoadingContext;
|
import net.neoforged.fml.ModLoadingContext;
|
||||||
import net.neoforged.fml.common.Mod;
|
import net.neoforged.fml.common.Mod;
|
||||||
import net.neoforged.neoforge.client.gui.IConfigScreenFactory;
|
import net.neoforged.neoforge.client.gui.IConfigScreenFactory;
|
||||||
|
|||||||
Reference in New Issue
Block a user