-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (52 loc) · 1.41 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
57
58
59
60
61
62
63
64
plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'maven-publish'
id 'checkstyle'
}
defaultTasks 'build'
group = 'com.github.r3back'
version = '1.1.4'
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = 1.17
targetCompatibility = 1.17
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
jar {
from '../LICENSE.txt'
}
repositories {
mavenCentral()
//Spigot API Repo
maven {
url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
url 'https://jitpack.io'
}
maven {
url 'https://repo.techscode.com/repository/maven-releases/'
}
maven {
url 'https://repo.papermc.io/repository/maven-public/'
}
}
dependencies {
implementation("org.jetbrains:annotations:22.0.0")
implementation("com.google.guava:guava:32.0.1-jre")
compileOnly("org.projectlombok:lombok:1.18.22")
annotationProcessor("org.projectlombok:lombok:1.18.22")
}
tasks.withType(Test) {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
}