-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
64 lines (49 loc) · 1.54 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 'java'
id 'eclipse'
}
sourceCompatibility = 17
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
implementation('com.github.blurite:pathfinder:2.1.9')
// https://mvnrepository.com/artifact/org.openjdk.nashorn/nashorn-core
implementation 'org.openjdk.nashorn:nashorn-core:15.4'
// https://github.com/Displee/rs-cache-library
implementation 'com.displee:rs-cache-library:6.9-RC2'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
implementation 'org.slf4j:slf4j-api:1.7.36'
implementation 'org.slf4j:slf4j-simple:1.7.36'
// https://mvnrepository.com/artifact/com.google.guava/guava
implementation 'com.google.guava:guava:31.1-jre'
// https://mvnrepository.com/artifact/com.google.code.gson/gson
implementation 'com.google.code.gson:gson:2.9.1'
// https://mvnrepository.com/artifact/io.netty/netty-all
implementation 'io.netty:netty-all:4.1.80.Final'
implementation "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72"
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
}
configurations.all {
exclude module: 'slf4j-log4j12'
}
sourceSets {
main.java.srcDirs = ['src/main']
main.resources.srcDirs = ['resources']
test.java.srcDirs = ['src/test']
test.resources.srcDirs = ['resources']
}
jar {
doFirst {
from {
configurations {
exclude 'slf4j-log4j12'
runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
}
}