Files
runelite/injector-plugin/build.gradle
2019-07-23 04:03:47 -04:00

24 lines
904 B
Groovy

group = 'net.runelite.rs'
description = 'Injector'
dependencies {
compile project(':deobfuscator')
compile project(':mixins')
compile project(':runelite-api')
compile project(':runescape-api')
compile group: 'org.apache.maven', name: 'maven-plugin-api', version:'3.6.1'
testCompile project(':deobfuscator')
testCompile group: 'junit', name: 'junit', version:'4.12'
testCompile group: 'org.mockito', name: 'mockito-all', version:'1.10.19'
compileOnly group: 'org.apache.maven.plugin-tools', name: 'maven-plugin-annotations', version:'3.6.0'
}
task inject(type:JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = "net.runelite.injector.Injector"
args('../runescape-client/build/libs/rs-client-1.5.30-SNAPSHOT.jar,./vanilla-181.jar,../injected-client/build/libs/injected-client-1.5.30-SNAPSHOT.jar'.split(','))
}
compileJava.doLast {
tasks.inject.execute()
}