generated from MiniPlaceholders/Example-Expansion
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
40 lines (35 loc) · 893 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
38
39
40
plugins {
java
alias(libs.plugins.shadow)
}
dependencies {
implementation(projects.luckpermsExpansionPaper)
implementation(projects.luckpermsExpansionVelocity)
implementation(projects.luckpermsExpansionSponge)
}
subprojects {
apply<JavaPlugin>()
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
}
}
tasks {
shadowJar {
archiveFileName.set("MiniPlaceholders-LuckPerms-Expansion-${project.version}.jar")
archiveClassifier.set("")
doLast {
copy {
from(archiveFile)
into("${rootProject.projectDir}/build")
}
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
build {
dependsOn(shadowJar)
}
}