File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 11plugins {
2- id(" net.weavemc.gradle" ) version " 1.0.0-PRE "
2+ id(" net.weavemc.gradle" ) version " 1.1.0 "
33}
44
55group = " com.example"
66version = " 1.0.0"
77
8- minecraft {
8+ weave {
99 configure {
1010 name = " ExampleMod"
1111 modId = " examplemod"
1212 entryPoints = listOf (" com.example.mod.ExampleMod" )
13+ hooks = listOf (" com.example.mod.hook.MinecraftHook" )
1314 mixinConfigs = listOf (" examplemod.mixins.json" )
1415 mcpMappings()
1516 }
1617 version(" 1.8.9" )
1718}
1819
1920repositories {
20- maven(" https://repo.weavemc.dev/releases" )
2121 maven(" https://repo.spongepowered.org/maven/" )
22+ // Check available packages at https://gitlab.com/weave-mc/weave/-/packages/
23+ maven(" https://gitlab.com/api/v4/projects/80566527/packages/maven" )
2224}
2325
2426dependencies {
25- compileOnly(" net.weavemc.api:common:1.0.0-b.2" )
27+ implementation(" net.weavemc:loader:1.1.0" ) // For advanced modifications
28+ implementation(" net.weavemc:internals:1.1.0" )
29+ implementation(" net.weavemc.api:api:1.1.0" )
30+ implementation(" net.weavemc.api:api-v1_8:1.1.0" ) // For 1.8 events
31+
2632 compileOnly(" org.spongepowered:mixin:0.8.5" )
2733}
2834
Original file line number Diff line number Diff line change 11pluginManagement {
22 repositories {
33 gradlePluginPortal()
4- maven(" https://repo.weavemc.net/releases" )
4+ // Check available packages at https://gitlab.com/weave-mc/weave/-/packages/
5+ maven(" https://gitlab.com/api/v4/projects/80566527/packages/maven" )
56 }
67}
78
89plugins {
910 id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.8.+"
1011}
1112
12- rootProject.name = " ExampleMod"
13+ rootProject.name = " ExampleMod"
You can’t perform that action at this time.
0 commit comments