File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,7 @@ dependencies {
14
14
implementation project(' :imgui-app' )
15
15
}
16
16
17
- task start (type : JavaExec , dependsOn : build) {
18
- main = ' Main'
19
- classpath = sourceSets. test. runtimeClasspath
20
- jvmArgs = [" -Dimgui.library.path=${ System.getProperty('libPath', '../bin')} " ]
21
-
17
+ run {
22
18
if (org.gradle.internal.os.OperatingSystem . current(). isMacOsX()) {
23
19
jvmArgs + = [' -XstartOnFirstThread' , ' -Djava.awt.headless=true' ]
24
20
}
Original file line number Diff line number Diff line change @@ -31,11 +31,14 @@ dependencies {
31
31
32
32
jar {
33
33
from(' ../bin' ) {
34
- include ' imgui-java64.dll'
35
34
include ' libimgui-java64.so'
36
35
include ' libimgui-java64.dylib'
37
36
into ' io/imgui/java/native-bin/'
38
37
}
38
+ from(' ../bin/freetype' ) {
39
+ include ' imgui-java64.dll'
40
+ into ' io/imgui/java/native-bin/'
41
+ }
39
42
}
40
43
41
44
apply from : " $rootDir /publish.gradle"
You can’t perform that action at this time.
0 commit comments