Skip to content

Commit

Permalink
Use a separate config for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Jul 17, 2022
1 parent d243e3b commit 5452197
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
12 changes: 9 additions & 3 deletions redhorizon-engine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,15 @@ dependencies {
implementation project(':redhorizon-filetypes')
implementation platform("org.lwjgl:lwjgl-bom:${lwjglVersion}")
implementation "ch.qos.logback:logback-core:${logbackVersion}"
implementation files("../libraries/imgui-java-binding-${imguiVersion}.jar")
implementation("io.github.spair:imgui-java-lwjgl3:${imguiVersion}") {
exclude group: 'io.github.spair', module: 'imgui-java-binding'
if (System.getenv('CI')) {
implementation "io.github.spair:imgui-java-binding:${imguiVersion}"
implementation "io.github.spair:imgui-java-lwjgl3:${imguiVersion}"
}
else {
implementation files("../libraries/imgui-java-binding-${imguiVersion}.jar")
implementation("io.github.spair:imgui-java-lwjgl3:${imguiVersion}") {
exclude group: 'io.github.spair', module: 'imgui-java-binding'
}
}
implementation "org.joml:joml:${jomlVersion}"
implementation "org.joml:joml-primitives:${jomlPrimitivesVersion}"
Expand Down
7 changes: 6 additions & 1 deletion redhorizon-explorer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ dependencies {
implementation project(':redhorizon-filetypes')
implementation platform("org.lwjgl:lwjgl-bom:${lwjglVersion}")
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
implementation files("../libraries/imgui-java-binding-${imguiVersion}.jar")
if (System.getenv('CI')) {
implementation "io.github.spair:imgui-java-binding:${imguiVersion}"
}
else {
implementation files("../libraries/imgui-java-binding-${imguiVersion}.jar")
}
implementation 'nz.net.ultraq.preferences:preferences:3.1.0'
implementation "org.joml:joml:${jomlVersion}"
implementation "org.joml:joml-primitives:${jomlPrimitivesVersion}"
Expand Down

0 comments on commit 5452197

Please sign in to comment.