generated from MiniPlaceholders/Example-Expansion
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
38 lines (34 loc) · 902 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
plugins {
java
alias(libs.plugins.shadow)
}
allprojects {
apply<JavaPlugin>()
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))
tasks.withType<JavaCompile> {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
}
dependencies {
implementation(projects.expressionsCommon)
implementation(projects.expressionsVelocity)
implementation(projects.expressionsPaper)
implementation(projects.expressionsSponge)
}
tasks {
shadowJar {
archiveFileName.set("MiniPlaceholders-Expressions-Expansion-${project.version}.jar")
archiveClassifier.set("")
doLast {
copy {
from(archiveFile)
into("${rootProject.projectDir}/build")
}
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
build {
dependsOn(shadowJar)
}
}