* gradle: Update dependencies Also made the version numbers global to make updating easier, also this way we can't have mismatches where different projects use diffrent versions of a dep * cache: Fix TitleDumper test * gradle: Format build files * httpserviceplus: Remove unneeded deps
37 lines
1.4 KiB
Groovy
37 lines
1.4 KiB
Groovy
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
plugins {
|
|
id "com.github.hauner.jarTest" version "1.0.1"
|
|
}
|
|
|
|
description = 'Cache'
|
|
|
|
dependencies {
|
|
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: lombok
|
|
|
|
api project(':http-api')
|
|
|
|
compileOnly group: 'org.projectlombok', name: 'lombok', version: lombok
|
|
|
|
implementation group: 'com.google.code.gson', name: 'gson', version: gson
|
|
implementation group: 'com.google.guava', name: 'guava', version: guava
|
|
implementation group: 'commons-cli', name: 'commons-cli', version: commonsCli
|
|
implementation group: 'io.netty', name: 'netty-buffer', version: netty
|
|
implementation group: 'org.antlr', name: 'antlr4-runtime', version: antlr
|
|
implementation group: 'org.apache.commons', name: 'commons-compress', version: apacheCommonsCompress
|
|
implementation group: 'org.slf4j', name: 'slf4j-api', version: slf4j
|
|
|
|
testImplementation group: 'junit', name: 'junit', version: junit
|
|
testImplementation group: 'net.runelite.rs', name: 'cache', version: cacheversion
|
|
testImplementation group: 'org.slf4j', name: 'slf4j-simple', version: slf4j
|
|
}
|
|
|
|
processTestResources {
|
|
from file("src/test/resources/cache.properties"), {
|
|
filter(ReplaceTokens, tokens: [
|
|
"rs.version": rsversion.toString(),
|
|
"cache.version": cacheversion.toString()
|
|
])
|
|
}
|
|
}
|