[Example] Migrate example to the new module
This commit is contained in:
1 parent
46f74381aa
commit
cf9e74b1d0
17 files changed
+489
-822
No files matched your search
+14
-1
@@ -1,12 +1,25 @@
|
||||
plugins {
|
||||
id 'application'
|
||||
id 'checkstyle'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = 'Main'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':imgui-app')
|
||||
}
|
||||
|
||||
task start(type: JavaExec, dependsOn: build) {
|
||||
main = 'Main'
|
||||
classpath = sourceSets.test.runtimeClasspath
|
||||
jvmArgs = ["-Dimgui.library.path=${System.getProperty('libPath', '../bin')}"]
|
||||
|
||||
if (org.gradle.internal.os.OperatingSystem.current().isMacOsX()) {
|
||||
jvmArgs += ['-XstartOnFirstThread', '-Djava.awt.headless=true']
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user