forked from devnatan/inventory-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (45 loc) · 1.26 KB
/
build.gradle
File metadata and controls
54 lines (45 loc) · 1.26 KB
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
44
45
46
47
48
49
50
51
52
53
54
plugins {
id "com.diffplug.spotless" version "6.8.0" apply false
}
subprojects {
apply plugin: 'java-library'
apply plugin: "com.diffplug.spotless"
group 'me.saiintbrisson.minecraft'
version '2.5.1'
repositories {
mavenCentral()
mavenLocal()
repositories {
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
}
}
dependencies {
annotationProcessor libs.lombok
compileOnly libs.spigot.api
compileOnlyApi libs.jetbrains.annotations
compileOnly libs.lombok
testCompileOnly libs.jetbrains.annotations
testCompileOnly libs.lombok
testRuntimeOnly libs.junit.engine
testImplementation libs.junit.api
testAnnotationProcessor libs.lombok
}
java {
withSourcesJar()
withJavadocJar()
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
test {
useJUnitPlatform()
}
spotless {
java {
googleJavaFormat().aosp()
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}