-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
35 lines (32 loc) · 883 Bytes
/
build.gradle.kts
File metadata and controls
35 lines (32 loc) · 883 Bytes
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
34
35
plugins {
id("java")
id("java-library")
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "io.github.lumine1909"
version = "alpha-1.2"
repositories {
mavenCentral()
mavenLocal()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://oss.sonatype.org/content/repositories/snapshots")
maven("https://oss.sonatype.org/content/repositories/central")
}
dependencies {
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
compileOnly("org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT")
implementation(project(":api"))
}
tasks {
assemble {
dependsOn(shadowJar)
}
shadowJar {
exclude(":example-plugin")
archiveFileName.set("RegistryAPI-$version.jar")
}
test {
useJUnitPlatform()
}
}