Arbeiten aus dem URlaub
This commit is contained in:
31
simarboreal/build.gradle
Normal file
31
simarboreal/build.gradle
Normal file
@@ -0,0 +1,31 @@
|
||||
plugins {
|
||||
id 'application'
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = 'com.simsilica.arboreal.TreeEditor'
|
||||
applicationDefaultJvmArgs = ['-Xmx512m', '-XX:MaxDirectMemorySize=512m']
|
||||
}
|
||||
|
||||
sourceSets.main.resources {
|
||||
srcDirs += 'src/main/java'
|
||||
exclude '**/*.java'
|
||||
exclude '**/*.tmp'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
runtimeOnly files('assets')
|
||||
}
|
||||
|
||||
tasks.register('extractNatives', Copy) {
|
||||
from zipTree(file('libs/jME3-lwjgl-natives.jar'))
|
||||
into "${buildDir}/natives"
|
||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||
}
|
||||
|
||||
run {
|
||||
dependsOn extractNatives
|
||||
workingDir = rootDir
|
||||
jvmArgs "-Djava.library.path=${buildDir}/natives"
|
||||
}
|
||||
Reference in New Issue
Block a user