summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-12-13 16:24:25 +0800
committerKeuin <[email protected]>2021-12-13 16:24:25 +0800
commit7fc64f506ea7ebc68fcb0a9e98351deed7c1d212 (patch)
treef8e538fc50e28ca5f44aa5670d33f569572a8683 /build.gradle
Initial version. Supports both Velocity and BungeeCord.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle33
1 files changed, 33 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..e04aa4a
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,33 @@
+plugins {
+ id 'java'
+}
+
+group 'com.keuin'
+version '1.0-SNAPSHOT'
+
+repositories {
+ mavenCentral()
+ maven {
+ name 'velocity'
+ url 'https://repo.velocitypowered.com/snapshots/'
+ }
+ maven {
+ name 'bungeecord-repo'
+ url "https://oss.sonatype.org/content/repositories/snapshots"
+ }
+}
+
+dependencies {
+ // JUnit
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
+ // Velocity
+ implementation 'com.velocitypowered:velocity-api:1.0.0-SNAPSHOT'
+ annotationProcessor 'com.velocitypowered:velocity-api:1.0.0-SNAPSHOT'
+ // BungeeCord
+ implementation 'net.md-5:bungeecord-api:1.16-R0.5-SNAPSHOT'
+}
+
+test {
+ useJUnitPlatform()
+} \ No newline at end of file