mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-21 09:02:09 -07:00
New gradle scripts to modularize the build process
This commit is contained in:
parent
b3fd9e76cf
commit
bc7ecce61c
8 changed files with 82 additions and 56 deletions
42
client/build.gradle
Normal file
42
client/build.gradle
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
}
|
||||
|
||||
mainClassName = 'client'
|
||||
version = '1.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly project(':deob-annotations')
|
||||
implementation project(':signlink')
|
||||
|
||||
implementation 'lib:gluegen-rt'
|
||||
implementation 'lib:gluegen-rt-natives-windows-amd64'
|
||||
implementation 'lib:gluegen-rt-natives-windows-i586'
|
||||
implementation 'lib:gluegen-rt-natives-linux-amd64'
|
||||
implementation 'lib:gluegen-rt-natives-linux-i586'
|
||||
implementation 'lib:gluegen-rt-natives-macosx-universal'
|
||||
|
||||
implementation 'lib:jogl-all'
|
||||
implementation 'lib:jogl-all-natives-windows-amd64'
|
||||
implementation 'lib:jogl-all-natives-windows-i586'
|
||||
implementation 'lib:jogl-all-natives-linux-amd64'
|
||||
implementation 'lib:jogl-all-natives-linux-i586'
|
||||
implementation 'lib:jogl-all-natives-macosx-universal'
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'Main-Class': "$mainClassName"
|
||||
}
|
||||
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue