-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
43 lines (36 loc) · 890 Bytes
/
Copy pathbuild.gradle.kts
File metadata and controls
43 lines (36 loc) · 890 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
38
39
40
41
42
43
plugins {
java
`maven-publish`
}
group = "com.iridium"
version = "1.0.9"
description = "IridiumColorAPI"
java.sourceCompatibility = JavaVersion.VERSION_1_8
repositories {
maven("https://repo.rosewooddev.io/repository/public/")
mavenCentral()
}
dependencies {
implementation("org.spigotmc:spigot:1.17.1")
implementation("org.apache.commons:commons-lang3:3.13.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
testImplementation("org.mockito:mockito-inline:4.0.0")
testImplementation("org.mockito:mockito-junit-jupiter:4.0.0")
}
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}
tasks.withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
}
tasks {
build {
dependsOn(test)
}
test {
useJUnitPlatform()
setForkEvery(1)
}
}