-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
50 lines (41 loc) · 945 Bytes
/
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 "io.freefair.lombok" version "5.0.0-rc6"
id "com.github.johnrengelman.shadow" version "5.2.0"
}
group 'melky'
version '1.0'
repositories {
mavenLocal() {
content {
includeGroup "net.runelite"
}
}
maven {
url "https://repo.runelite.net"
}
mavenCentral()
}
jar {
manifest {
attributes 'Main-Class': 'melky.Main'
}
}
lombok {
generateLombokConfig.enabled = false
}
def runeliteVersion = "1.10.31.3"
dependencies {
implementation "org.slf4j:slf4j-simple:1.7.12"
implementation "net.runelite:cache:${runeliteVersion}"
implementation "net.runelite:runelite-api:${runeliteVersion}"
}
description = "Resource packs sprite exporter"
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.release.set(11)
}
shadowJar {
destinationDirectory.set(file("${rootDir}"))
archiveFileName = "shadow.jar"
}