From b0ae229a6344b89ceadf219cf55d2ba213ae3a4a Mon Sep 17 00:00:00 2001 From: MiniDay <372403923@qq.com> Date: Fri, 28 Oct 2022 01:17:49 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 3 +++ hamster-ball-bungeecord/build.gradle | 2 +- hamster-ball-common/build.gradle | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 gradle.properties 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'