A complete 3D game development suite written purely in Java.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
if (!hasProperty('mainClass')) {
|
|
|
|
ext.mainClass = ''
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDir 'src/main/java'
|
|
|
|
srcDir 'src/plugins/java'
|
|
|
|
srcDir 'src/tools/java'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
test {
|
|
|
|
java {
|
|
|
|
srcDir 'src/test/java'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task updateVersionPropertiesFile << {
|
|
|
|
def verfile = file('src/main/resources/com/jme3/system/version.properties')
|
|
|
|
verfile.text = "# THIS IS AN AUTO-GENERATED FILE..\n" +
|
|
|
|
"# DO NOT MODIFY!\n" +
|
|
|
|
"build.date=${jmeBuildDate}\n" +
|
|
|
|
"git.revision=${jmeRevision}\n" +
|
|
|
|
"git.branch=${jmeBranchName}\n" +
|
|
|
|
"git.hash=${jmeGitHash}\n" +
|
|
|
|
"git.hash.short=${jmeShortGitHash}\n" +
|
|
|
|
"git.tag=${jmeGitTag}\n" +
|
|
|
|
"name.full=jMonkeyEngine ${jmeFullVersion}\n" +
|
|
|
|
"version.full=${jmeFullVersion}\n" +
|
|
|
|
"version.number=${jmeVersion}\n" +
|
|
|
|
"version.tag=${jmeVersionTag}"
|
|
|
|
}
|
|
|
|
|
|
|
|
compileJava.dependsOn(updateVersionPropertiesFile)
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
}
|