-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (33 loc) · 1 KB
/
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
41
42
plugins {
kotlin("jvm") version "1.6.10"
java
id("com.github.johnrengelman.shadow") version "7.1.1"
}
allprojects {
apply(plugin = "java-library")
apply(plugin = "kotlin-platform-jvm")
apply(plugin = "com.github.johnrengelman.shadow")
defaultTasks("shadowJar")
group = "io.github.rothes.bungeepluginmanagerplus"
version = "1.3.0"
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.6.0")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2")
}
tasks.getByName<JavaCompile>("compileJava") {
options.encoding = "UTF-8"
sourceCompatibility = "17"
targetCompatibility = "1.8"
}
tasks.getByName<ProcessResources>("processResources") {
expand("projectVersionString" to project.version)
}
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}