-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
37 lines (31 loc) · 894 Bytes
/
build.gradle.kts
File metadata and controls
37 lines (31 loc) · 894 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
36
37
plugins {
java
id("com.github.johnrengelman.shadow") version ("7.0.0")
}
group = "at.helpch.placeholderapi.expansion"
version = "2.7.3"
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
compileOnly("me.clip:placeholderapi:2.11.7")
}
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")
}
}