* feature: light/dark mode theme support New feature providing a more modern flat design with support for light and dark modes, including: - New SheepIt logo (old one removed) - New configuration option (-theme) that changes the existing client theme. - Minimal UI cosmetic changes (some separation lines under the logo and above the buttons)
65 lines
1.2 KiB
Groovy
65 lines
1.2 KiB
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
|
|
}
|
|
}
|
|
apply plugin: 'java'
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
sourceCompatibility = '1.7'
|
|
targetCompatibility = '1.7'
|
|
|
|
compileJava {
|
|
// Suppress warnings about internal api usage - https://stackoverflow.com/a/19553686/6238618
|
|
options.fork = true
|
|
options.forkOptions.executable = 'javac'
|
|
options.compilerArgs << '-XDignore.symbol.file'
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile 'org.projectlombok:lombok:1.18.8'
|
|
compile 'org.kohsuke.args4j:args4j-maven-plugin:2.0.31'
|
|
compile 'net.lingala.zip4j:zip4j:1.3.2'
|
|
compile 'net.java.dev.jna:jna-platform:4.0.0'
|
|
compile 'net.java.dev.jna:jna:4.0.0'
|
|
compile 'javax.xml.bind:jaxb-api:2.3.1'
|
|
compile 'com.squareup.retrofit2:converter-simplexml:2.3.0'
|
|
|
|
implementation 'com.formdev:flatlaf:0.30'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes "Main-Class": "com.sheepit.client.standalone.Worker"
|
|
}
|
|
|
|
from {
|
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDirs = ['src']
|
|
}
|
|
resources {
|
|
srcDirs = ['resources']
|
|
}
|
|
}
|
|
|
|
test {
|
|
java {
|
|
srcDirs = ['test']
|
|
}
|
|
}
|
|
}
|