-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (48 loc) · 1.65 KB
/
build.gradle
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
55
56
plugins {
id 'java'
id 'java-library'
id "io.freefair.lombok" version "8.6"
// Check for new versions at https://plugins.gradle.org/plugin/io.papermc.paperweight.userdev
id "com.diffplug.spotless" version "6.20.0"
id "io.papermc.paperweight.userdev" version "1.7.1"
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'maven-publish'
}
group 'de.spookly'
version project.version
allprojects {
apply plugin: "com.diffplug.spotless"
apply plugin: "io.papermc.paperweight.userdev"
apply plugin: 'java'
apply plugin: 'java-library'
repositories {
mavenCentral()
maven {
name = "spooklyRepositoryReleases"
url = "https://mvn.spookly.net/releases"
}
maven {
name = "spooklyRepositorySnapshots"
url = "https://mvn.spookly.net/snapshots"
}
}
dependencies {
//External API's
compileOnly 'org.jetbrains:annotations:' + project.jetbrains_annotations
compileOnly 'org.projectlombok:lombok:' + project.lombok_version
annotationProcessor 'org.projectlombok:lombok:' + project.lombok_version
compileOnly 'org.mongodb:mongodb-driver-reactivestreams:' + project.mongodb_driver_version
//Internal API's
implementation 'de.spookly:canvas:1.8.0-SNAPSHOT'
//NMS / Paper-API
paperweight.paperDevBundle(project.paper_version)
}
spotless {
java {
removeUnusedImports()
importOrder('java', 'javax', '', 'de.spookly', 'net.minecraft', 'org.bukkit')
indentWithSpaces(4)
endWithNewline()
}
}
}