diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..b2f7669 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,3 @@ +# Done to increase the memory available to gradle. +org.gradle.jvmargs=-Xmx2G +hamster_core_version=1.0.0 diff --git a/hamster-ball-bungeecord/build.gradle b/hamster-ball-bungeecord/build.gradle index 8b51e6a..1e95ddc 100644 --- a/hamster-ball-bungeecord/build.gradle +++ b/hamster-ball-bungeecord/build.gradle @@ -9,7 +9,7 @@ dependencies { } compileOnly 'net.md-5:bungeecord-api:1.17-R0.1-SNAPSHOT' - compileOnly "cn.hamster3.mc.plugin:hamster-core-bungeecord:1.0.0" + compileOnly "cn.hamster3.mc.plugin:hamster-core-bungeecord:${hamster_core_version}" } processResources { diff --git a/hamster-ball-common/build.gradle b/hamster-ball-common/build.gradle index adb18c6..1ee7518 100644 --- a/hamster-ball-common/build.gradle +++ b/hamster-ball-common/build.gradle @@ -8,7 +8,7 @@ dependencies { // https://mvnrepository.com/artifact/io.netty/netty-all compileOnly 'io.netty:netty-all:4.1.84.Final' - compileOnly "cn.hamster3.mc.plugin:hamster-core-common:1.0.0" + compileOnly "cn.hamster3.mc.plugin:hamster-core-common:${hamster_core_version}" testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'