-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (51 loc) · 1.63 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
65
66
67
68
69
70
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.1.0"
}
group 'at.nipe'
version '0.0.2-alpha'
allprojects {
apply plugin: 'idea'
apply plugin: 'java'
repositories {
mavenCentral()
maven { url = uri("https://papermc.io/repo/repository/maven-public/") }
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'org.reflections:reflections:0.10.2'
implementation('com.github.kangarko:Foundation:5.11.2') {
exclude group: "org.mineacademy.plugin"
exclude group: "org.projectlombok"
exclude group: "org.spigotmc"
}
compileOnly "com.google.inject:guice:5.0.1"
implementation 'commons-logging:commons-logging:1.2'
implementation 'com.google.guava:guava:31.0.1-jre'
compileOnly 'io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT'
compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
testCompileOnly 'org.projectlombok:lombok:1.18.22'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
}
dependencies {}
test {
useJUnitPlatform()
}
shadowJar {}
task exportJarToBin(type: Copy, dependsOn: 'shadowJar') {
from shadowJar
into "./server/plugins"
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(16))
}
subprojects {
apply plugin: 'com.github.johnrengelman.shadow'
shadowJar {
classifier = null
}
}