-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (31 loc) · 936 Bytes
/
build.gradle
File metadata and controls
38 lines (31 loc) · 936 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
subprojects {
apply plugin: 'java-library'
group 'me.saiintbrisson.minecraft'
version '2.5'
repositories {
mavenCentral()
mavenLocal()
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
compileOnly libs.spigot.api
compileOnlyApi libs.jetbrains.annotations
testCompileOnly libs.jetbrains.annotations
testImplementation libs.junit.api
testRuntimeOnly libs.junit.engine
testImplementation libs.spigot.api
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
java {
withSourcesJar()
withJavadocJar()
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}