-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (38 loc) · 1.44 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
plugins {
id 'java'
}
repositories {
maven {
url = 'https://repo.runelite.net'
}
mavenCentral()
mavenLocal()
}
def runeLiteVersion = 'latest.release'
def lombokVersion = '1.18.30' // Must match the verified version in runelite/plugin-hub
dependencies {
compileOnly group: 'net.runelite', name:'client', version: runeLiteVersion
// Lombok dependencies
compileOnly group: 'org.projectlombok', name:'lombok', version: lombokVersion
annotationProcessor group: 'org.projectlombok', name:'lombok', version: lombokVersion
// Test dependencies
testImplementation 'org.junit.jupiter:junit-jupiter:5.+'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.+'
testImplementation 'org.junit.platform:junit-platform-launcher:1.10.2'
testImplementation group: 'net.runelite', name:'client', version: runeLiteVersion
testImplementation "org.mockito:mockito-core:3.+"
testImplementation "org.mockito:mockito-junit-jupiter:5+"
testCompileOnly group: 'org.projectlombok', name:'lombok', version: lombokVersion
testAnnotationProcessor group: 'org.projectlombok', name:'lombok', version: lombokVersion
testImplementation group: 'net.runelite', name:'client', version: runeLiteVersion
testImplementation group: 'net.runelite', name:'jshell', version: runeLiteVersion
}
group = 'com.simonflapse.osrs'
version = '1.0-SNAPSHOT'
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.release.set(11)
}
test {
useJUnitPlatform()
}