Remove eventbus dependency
This commit is contained in:
parent
f9b221f5e7
commit
6b90951ab2
2 changed files with 10 additions and 6 deletions
13
build.gradle
13
build.gradle
|
@ -62,7 +62,7 @@ minecraft {
|
|||
// When true, this property will add the folder name of all declared run configurations to generated IDE run configurations.
|
||||
// The folder name can be set on a run configuration using the "folderName" property.
|
||||
// By default, the folder name of a run configuration is the name of the Gradle project containing it.
|
||||
// generateRunFolders = true
|
||||
generateRunFolders = true
|
||||
|
||||
// This property enables access transformers for use in development.
|
||||
// They will be applied to the Minecraft artifact.
|
||||
|
@ -164,9 +164,6 @@ dependencies {
|
|||
|
||||
provided "dev.zontreck:LibAC:${libac}"
|
||||
|
||||
|
||||
provided "dev.zontreck:EventsBus:${eventsbus}"
|
||||
|
||||
// Example mod dependency with JEI - using fg.deobf() ensures the dependency is remapped to your development mappings
|
||||
// The JEI API is declared for compile time use, while the full JEI artifact is used at runtime
|
||||
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}-common-api:${jei_version}")
|
||||
|
@ -204,6 +201,14 @@ tasks.withType(ProcessResources).configureEach {
|
|||
|
||||
// Example for how to get properties into the manifest for reading at runtime.
|
||||
tasks.named('jar', Jar).configure {
|
||||
|
||||
duplicatesStrategy = "exclude"
|
||||
from { configurations.provided.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
|
||||
exclude 'META-INF/*'
|
||||
exclude 'META-INF/*'
|
||||
exclude 'META-INF/*'
|
||||
|
||||
manifest {
|
||||
attributes([
|
||||
'Specification-Title' : mod_id,
|
||||
|
|
|
@ -7,8 +7,7 @@ org.gradle.daemon=false
|
|||
# parchment_version=2023.09.03
|
||||
# luckperms_api_version=5.4
|
||||
|
||||
libac=1.4.46
|
||||
eventsbus=1.0.45
|
||||
libac=1.4.48
|
||||
## Environment Properties
|
||||
|
||||
# The Minecraft version must agree with the Forge version to get a valid artifact
|
||||
|
|
Reference in a new issue