-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
50 lines (40 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"
id "com.github.johnrengelman.shadow" version "8.1.1"
id "io.freefair.lombok" version "8.1.0"
}
repositories {
mavenLocal() {
content {
includeGroup "net.runelite"
}
}
maven {
url "https://repo.runelite.net"
}
mavenCentral()
}
lombok {
disableConfig.set(true)
}
version = file("version").text.trim()
def runeliteVersion = "1.10.34"
dependencies {
implementation "com.google.guava:guava:23.2-jre"
implementation "com.google.code.gson:gson:2.8.5"
implementation "com.github.javaparser:javaparser-core:3.14.9"
implementation "org.slf4j:slf4j-simple:1.7.12"
implementation "org.eclipse.jgit:org.eclipse.jgit:5.2.0.201812061821-r"
implementation "net.runelite:cache:${runeliteVersion}"
implementation "net.runelite:runelite-api:${runeliteVersion}"
testImplementation "junit:junit:4.12"
}
description = "RuneLite Cache Code Updater"
sourceCompatibility = "11"
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
shadowJar {
destinationDirectory.set(file("${buildDir}/release/"))
archiveFileName = "rlccau-${project.version}.jar"
}