mirror of
https://github.com/runelite/example-plugin.git
synced 2025-12-23 22:38:00 -05:00
36 lines
757 B
Groovy
36 lines
757 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
url = 'https://repo.runelite.net'
|
|
content {
|
|
includeGroupByRegex("net\\.runelite.*")
|
|
}
|
|
}
|
|
mavenCentral()
|
|
}
|
|
|
|
def runeLiteVersion = 'latest.release'
|
|
|
|
dependencies {
|
|
compileOnly group: 'net.runelite', name:'client', version: runeLiteVersion
|
|
|
|
compileOnly 'org.projectlombok:lombok:1.18.30'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.30'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
testImplementation group: 'net.runelite', name:'client', version: runeLiteVersion
|
|
testImplementation group: 'net.runelite', name:'jshell', version: runeLiteVersion
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
options.release.set(11)
|
|
}
|