-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
34 lines (29 loc) · 982 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
34
plugins {
id("java")
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "com.nookure.staff"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
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 {
compileOnly("org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT")
implementation(libs.adventureBukkit)
implementation(libs.miniMessage)
}
bukkit {
name = "NookureStaff-Compatibility"
main = "com.nookure.staff.NookureStaffCompatibility"
author = "Angelillo15"
version = rootProject.version.toString()
description = "Just a dependency containing the compatibility layer for NookureStaff"
loadBefore = listOf("NookureStaff")
}
tasks.shadowJar {
archiveFileName.set("NookureStaff-Compatibility-${rootProject.version}.jar")
}