forked from PlaceholderAPI/Server-Expansion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
37 lines (31 loc) · 891 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
35
36
37
plugins {
`java-library`
id("com.gradleup.shadow") version "8.3.0"
}
group = "at.helpch.placeholderapi.expansion"
version = "2.7.3"
repositories {
mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/")
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT")
compileOnly("me.clip:placeholderapi:2.11.6")
}
tasks {
jar {
manifest {
attributes["Implementation-Title"] = "server"
attributes["Implementation-Version"] = project.version
}
}
java {
disableAutoTargetJvm()
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8
}
shadowJar {
archiveFileName.set("PAPI-Expansion-Server-${project.version}.jar")
}
}