-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle.kts
33 lines (27 loc) · 966 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
plugins {
java
}
group "me.aleksilassila.islands"
version "5.0.9"
repositories {
mavenCentral()
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
maven { url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") }
maven { url = uri("https://maven.enginehub.org/repo/") }
maven { url = uri("https://jitpack.io") }
}
dependencies {
implementation("org.jetbrains:annotations:20.1.0")
compileOnly("org.spigotmc:spigot-api:1.15.1-R0.1-SNAPSHOT")
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT")
compileOnly("com.github.MilkBowl:VaultAPI:1.7")
compileOnly("com.github.TechFortress:GriefPrevention:16.18")
compileOnly("com.github.stefvanschie.inventoryframework:IF:0.10.7")
}
tasks.register<Copy>("copyJar") {
from(layout.buildDirectory.file("libs/${project.name}.jar"))
into("server/plugins")
}
tasks.named("build") {
dependsOn("copyJar")
}