Add gradle task to start example
This commit is contained in:
1 parent
bc1a5904bd
commit
ce71e4db68
1 file changed
+5
-1
@@ -21,7 +21,11 @@ dependencies {
|
|||||||
implementation project(':imgui-binding')
|
implementation project(':imgui-binding')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task startExample(type: JavaExec, dependsOn: build) {
|
||||||
|
main = 'ImGuiGlfwExample'
|
||||||
|
classpath = sourceSets.test.runtimeClasspath
|
||||||
|
jvmArgs = ['-Djava.library.path=../bin', '-Dimgui.library.name=imgui-java64', '-Dorg.lwjgl.librarypath=./lwjgl-libs']
|
||||||
|
}
|
||||||
|
|
||||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||||
archiveClassifier.set('sources')
|
archiveClassifier.set('sources')
|
||||||
|
|||||||
Reference in new issue
Block a user