Skip to content

Commit

Permalink
Removed trailing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Sep 13, 2015
1 parent 96183db commit 210aa68
Showing 1 changed file with 30 additions and 29 deletions.
59 changes: 30 additions & 29 deletions build.gradle
Expand Up @@ -24,49 +24,49 @@ configurations {
quasar
natives
}

dependencies {
compile "co.paralleluniverse:quasar-core:0.7.3:jdk8" // JDK 8
compile "co.paralleluniverse:quasar-core:0.7.3:jdk8" // JDK 8
compile "co.paralleluniverse:quasar-actors:0.7.3"
compile "co.paralleluniverse:quasar-galaxy:0.7.3"
compile "co.paralleluniverse:spacebase-core:2.3-SNAPSHOT:jdk8" // JDK 8
compile "co.paralleluniverse:spacebase-galaxy:2.3-SNAPSHOT"
compile "co.paralleluniverse:galaxy:1.4"

quasar "co.paralleluniverse:quasar-core:0.7.3:jdk8@jar" // JDK 8

compile "com.google.guava:guava:18.0"
compile "com.codahale.metrics:metrics-core:3.0.2"
compile "com.codahale.metrics:metrics-jvm:3.0.2"
compile "com.codahale.metrics:metrics-core:3.0.2"
compile "com.codahale.metrics:metrics-jvm:3.0.2"
compile 'org.apache.commons:commons-lang3:3.1'

compile ":jogl-all:$jogampVer"
compile ":gluegen-rt:$jogampVer"
runtime ":jogl-all:$jogampVer:natives-linux-i586", ":jogl-all:$jogampVer:natives-linux-amd64",
":jogl-all:$jogampVer:natives-windows-i586", ":jogl-all:$jogampVer:natives-windows-amd64",
runtime ":jogl-all:$jogampVer:natives-linux-i586", ":jogl-all:$jogampVer:natives-linux-amd64",
":jogl-all:$jogampVer:natives-windows-i586", ":jogl-all:$jogampVer:natives-windows-amd64",
":jogl-all:$jogampVer:natives-macosx-universal"
runtime ":gluegen-rt:$jogampVer:natives-linux-i586", ":gluegen-rt:$jogampVer:natives-linux-amd64",
":gluegen-rt:$jogampVer:natives-windows-i586", ":gluegen-rt:$jogampVer:natives-windows-amd64",
":gluegen-rt:$jogampVer:natives-macosx-universal"
runtime ":gluegen-rt:$jogampVer:natives-linux-i586", ":gluegen-rt:$jogampVer:natives-linux-amd64",
":gluegen-rt:$jogampVer:natives-windows-i586", ":gluegen-rt:$jogampVer:natives-windows-amd64",
":gluegen-rt:$jogampVer:natives-macosx-universal"

// natives "org.jogamp.jogl:jogl-all:$jogampVer"
// natives "org.jogamp.gluegen:gluegen-rt:$jogampVer"
// natives "org.jogamp.jogl:jogl-all:$jogampVer:natives-linux-i586", "org.jogamp.jogl:jogl-all:$jogampVer:natives-linux-amd64",
// "org.jogamp.jogl:jogl-all:$jogampVer:natives-windows-i586", "org.jogamp.jogl:jogl-all:$jogampVer:natives-windows-amd64",
// natives "org.jogamp.jogl:jogl-all:$jogampVer:natives-linux-i586", "org.jogamp.jogl:jogl-all:$jogampVer:natives-linux-amd64",
// "org.jogamp.jogl:jogl-all:$jogampVer:natives-windows-i586", "org.jogamp.jogl:jogl-all:$jogampVer:natives-windows-amd64",
// "org.jogamp.jogl:jogl-all:$jogampVer:natives-macosx-universal"
// natives "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-linux-i586", "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-linux-amd64",
// "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-windows-i586", "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-windows-amd64",
// "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-macosx-universal"
// natives "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-linux-i586", "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-linux-amd64",
// "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-windows-i586", "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-windows-amd64",
// "org.jogamp.gluegen:gluegen-rt:$jogampVer:natives-macosx-universal"
}

sourceSets {
sourceSets {
main {
compileClasspath += configurations.natives
}
test {
compileClasspath += configurations.natives
}
}
}
test {
compileClasspath += configurations.natives
}
}

task copyJogamp(type: Sync) {
from { configurations.natives }
Expand Down Expand Up @@ -98,12 +98,12 @@ run {

tasks.withType(JavaExec) {
jvmArgs '-server'

// Quasar
// systemProperty "co.paralleluniverse.fibers.DefaultFiberPool.parallelism", "4"
systemProperty "co.paralleluniverse.fibers.DefaultFiberPool.monitor", "JMX" // "METRICS" // "NONE" //
jvmArgs "-javaagent:${configurations.quasar.singleFile}" // =vdmc (verbose, debug, allow monitors, check class)

// Galaxy
systemProperty 'java.net.preferIPv4Stack', 'true'
// systemProperty "jgroups.bind_addr", "127.0.0.1"
Expand All @@ -112,30 +112,30 @@ tasks.withType(JavaExec) {
systemProperty "galaxy.multicast.port", "7050"
systemProperty "co.paralleluniverse.galaxy.configFile", "build/resources/main/config/peer.xml"
systemProperty "co.paralleluniverse.galaxy.autoGoOnline", "true"

// memory
jvmArgs '-Xmx1024m'
jvmArgs '-XX:+UseParallelGC'
jvmArgs '-XX:+UseCondCardMark'
// jvmArgs '-XX:+UseG1GC', '-XX:MaxGCPauseMillis=50'

// profiling
// jvmArgs '-XX:+UnlockCommercialFeatures', '-XX:+FlightRecorder'
// jvmArgs '-verbose:gc'
// jvmArgs '-XX:+UnlockDiagnosticVMOptions', '-XX:+TraceClassLoading', '-XX:+LogCompilation' // use with jitwatch
// jvmArgs '-XX:+UnlockDiagnosticVMOptions', '-XX:+PrintInlining'

// logging
systemProperty "log4j.configurationFile", "${rootProject.projectDir}/log4j.xml"
systemProperty "Log4jContextSelector", "org.apache.logging.log4j.core.async.AsyncLoggerContextSelector"

// debugging
//jvmArgs '-ea'
// systemProperty "co.paralleluniverse.debugMode", "true"
systemProperty "co.paralleluniverse.globalFlightRecorder", "true"
systemProperty "co.paralleluniverse.flightRecorderDumpFile", "spaceships.log"
systemProperty "co.paralleluniverse.monitoring.flightRecorderLevel", "1"
systemProperty "co.paralleluniverse.monitoring.flightRecorderSize","100000"
systemProperty "co.paralleluniverse.monitoring.flightRecorderSize","100000"
}

task wrapper(type: Wrapper) {
Expand All @@ -147,3 +147,4 @@ task classpath << {
}

defaultTasks 'build','run'

0 comments on commit 210aa68

Please sign in to comment.