Skip to content

Commit 539c25e

Browse files
authored
fix vk module
1 parent fb1d4dc commit 539c25e

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

imgui-vk/build.gradle

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,18 @@ jar {
6666

6767
shadowJar.archiveClassifier = 'all'
6868

69-
compileKotlin.kotlinOptions.jvmTarget = "11"
70-
compileTestKotlin.kotlinOptions.jvmTarget = "11"
69+
compileKotlin {
70+
kotlinOptions.jvmTarget = "11"
71+
destinationDir = compileJava.destinationDir
72+
}
73+
compileTestKotlin {
74+
kotlinOptions.jvmTarget = "11"
75+
destinationDir = compileTestJava.destinationDir
76+
}
77+
78+
compileJava {
79+
doFirst {
80+
options.compilerArgs = ['--module-path', classpath.asPath,]
81+
classpath = files()
82+
}
83+
}

0 commit comments

Comments
 (0)