mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-29 08:05:50 +03:00
2f64cfc873
* GCC support - could be used via -PuseGcc command line argument. * Refactoring around __FUNCTION__, change __FUNCTION__ into __func__. * Refactoring, formatting, small fixes.
36 lines
1021 B
Groovy
36 lines
1021 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'groovy'
|
|
|
|
group = 'org.rehlds.flightrec'
|
|
version = rootProject.version
|
|
|
|
sourceCompatibility = '1.7'
|
|
targetCompatibility = '1.7'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testCompile 'org.codehaus.groovy:groovy-all:2.4.5'
|
|
testCompile "junit:junit:4.12"
|
|
compile project(':flightrec/decoder_api')
|
|
}
|
|
|
|
task uberjar(type: Jar, dependsOn: ['check', ':flightrec/decoder_api:build']) {
|
|
from files(sourceSets.main.output.classesDir)
|
|
from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
exclude('META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.LIST') //exclude all signing stuff
|
|
|
|
manifest {
|
|
attributes 'Main-Class': 'org.rehlds.flightrec.main.FlightRecorder'
|
|
attributes 'Implementation-Vendor': 'Sun Microsystems, Inc'
|
|
attributes 'Implementation-Title': 'Java Runtime Environment'
|
|
attributes 'Implementation-Version': '1.7.0'
|
|
}
|
|
}
|
|
|
|
tasks.withType(AbstractCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|