|
|
|
@ -11,16 +11,8 @@ subprojects { |
|
|
|
|
// } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
task run(dependsOn: ':jme3-examples:build', type: JavaExec) { |
|
|
|
|
task run(dependsOn: ':jme3-examples:run') { |
|
|
|
|
description = 'Run the jME3 examples' |
|
|
|
|
main = 'jme3test.TestChooser' |
|
|
|
|
classpath += files(subprojects.collect{project -> |
|
|
|
|
project.sourceSets*.runtimeClasspath}) |
|
|
|
|
// classpath += files(subprojects.collect {project -> |
|
|
|
|
// project.sourceSets*.output}) |
|
|
|
|
// classpath = sourceSets.main.runtimeClasspath |
|
|
|
|
// args 'mrhaki' |
|
|
|
|
// systemProperty 'simple.message', 'Hello ' |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
defaultTasks 'run' |
|
|
|
@ -66,7 +58,6 @@ task createZipDistribution(type:Zip,dependsOn:["dist","libDist"], description:"P |
|
|
|
|
into("/sources") { |
|
|
|
|
from {"$buildDir/libDist/sources"} |
|
|
|
|
} |
|
|
|
|
println archiveName |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
task copyLibs(type: Copy){ |
|
|
|
|