generated from runelite/example-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (39 loc) · 1.06 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
plugins {
id 'java'
}
repositories {
mavenLocal()
maven {
url = 'https://repo.runelite.net'
}
mavenCentral()
}
def runeLiteVersion = 'latest.release'
dependencies {
compileOnly group: 'net.runelite', name:'client', version: runeLiteVersion
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
testImplementation 'junit:junit:4.12'
testImplementation group: 'net.runelite', name:'client', version: runeLiteVersion
testImplementation group: 'net.runelite', name:'jshell', version: runeLiteVersion
implementation 'org.java-websocket:Java-WebSocket:1.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
components {
withModule("org.apache.httpcomponents.core5:httpcore5") {
allVariants {
withDependencies {
removeAll { it.group == "org.junit" && it.name == "junit-bom" }
}
}
}
}
}
group = 'gg.archipelago'
version = '1.2.0'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.release.set(11)
}
tasks.withType(Jar).all {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}