Files
plugin-hub/templateplugin/build.gradle
Max Weber 57e9ec7037 templateplugin: fix maven repo filter
gradle does not pay attention to this if the dependency is already
cached, so testing this didn't reveal it being incorrect. Also prodigy
originally wrote this and I changed it, so now I feel double stupid.
2024-08-16 12:26:07 -06:00

36 lines
755 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 = '${group_id}'
version = '${version}'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.release.set(11)
}