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'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task updateVersion << {
|
|
|
|
ant.replaceregexp(
|
|
|
|
file: 'src/main/java/com/jme3/system/JmeVersion.java',
|
|
|
|
match: 'private static final String FULL_NAME = (.*);',
|
|
|
|
replace: 'private static final String FULL_NAME = "jMonkeyEngine ' + jmeVersion + ' (' + jmeVersionTag + ')";',
|
|
|
|
byline: 'true')
|
|
|
|
}
|
|
|
|
|
|
|
|
compileJava.dependsOn(updateVersion)
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
}
|