imgui
imgui copied to clipboard
Gradle unable to resolve imgui dependencies
I am trying to configure the Gradle to run fetch the imgui dependencies, but have been so far unsuccessful. I have tried different variants of -SNAPSHOT
and v1.79
, to no avail. Here is my build.gradle.kts
script:
import org.gradle.internal.os.OperatingSystem
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
application
kotlin("jvm") version "1.4.21"
}
group = "me.breandan"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://dl.bintray.com/kotlin/kotlin-dev")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://jitpack.io")
}
application.mainClass.set("HelloImGuiKt")
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
compile("com.github.kotlin-graphics:imgui:-SNAPSHOT")
val lwjglNatives = when (OperatingSystem.current()) {
OperatingSystem.WINDOWS -> "natives-windows"
OperatingSystem.LINUX -> "natives-linux"
OperatingSystem.MAC_OS -> "natives-macos"
else -> ""
}
// Look up which modules and versions of LWJGL are required and add setup the approriate natives.
configurations["compile"].resolvedConfiguration.resolvedArtifacts.forEach {
if (it.moduleVersion.id.group == "org.lwjgl") {
"runtime"("org.lwjgl:${it.moduleVersion.id.name}:${it.moduleVersion.id.version}:$lwjglNatives")
}
}
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
When I run ./gradlew run
, I receive the following error message:
Click to expand!
FAILURE: Build failed with an exception.
* Where:
Build file '/home/breandan/IdeaProjects/HelloImGui/build.gradle.kts' line: 35
* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not find org.lwjgl:lwjgl:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:glfw:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:openjfx:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:kool:b393e4c2
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:vkk:cd252353
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gli:01358f8c
> Could not find org.lwjgl:lwjgl-glfw:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:glfw:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
> Could not find org.lwjgl:lwjgl-bgfx:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1
> Could not find org.lwjgl:lwjgl-stb:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
> Could not find org.lwjgl:lwjgl-jemalloc:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:kool:b393e4c2
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:vkk:cd252353
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gli:01358f8c
> Could not find org.lwjgl:lwjgl-opengl:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:glfw:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gli:01358f8c
> Could not find org.lwjgl:lwjgl-remotery:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:glfw:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
> Could not find org.lwjgl:lwjgl-vulkan:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:vkk:cd252353
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
> Could not find org.lwjgl:lwjgl-openal:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
> Could not find org.lwjgl:lwjgl-opengles:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
> Could not find org.lwjgl:lwjgl-jawt:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2s
When I change the version to v1.79
, this produces the following error:
Click to expand!
```FAILURE: Build failed with an exception.
-
Where: Build file '/home/breandan/IdeaProjects/HelloImGui/build.gradle.kts' line: 35
-
What went wrong: Could not resolve all dependencies for configuration ':compile'.
Could not find org.lwjgl:lwjgl:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:core:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:glfw:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:openjfx:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:vk:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:kool:b393e4c2 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:core:v1.79 > com.github.kotlin-graphics:gli:01358f8c project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics:gln:3e59f9ea project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics.uno-sdk:core:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:vk:v1.79 > com.github.kotlin-graphics:vkk:b06075d1 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:awt:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:vk:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:glm:3466fcde Could not find org.lwjgl:lwjgl-glfw:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:glfw:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:vk:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics:gln:3e59f9ea project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics.uno-sdk:core:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:awt:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:vk:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:glm:3466fcde Could not find org.lwjgl:lwjgl-bgfx:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 Could not find org.lwjgl:lwjgl-stb:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:core:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics:gln:3e59f9ea project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:glm:3466fcde Could not find org.lwjgl:lwjgl-jemalloc:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:core:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:kool:b393e4c2 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:core:v1.79 > com.github.kotlin-graphics:gli:01358f8c project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics:gln:3e59f9ea project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics.uno-sdk:core:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:vk:v1.79 > com.github.kotlin-graphics:vkk:b06075d1 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:awt:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:vk:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:glm:3466fcde Could not find org.lwjgl:lwjgl-opengl:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:glfw:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:vk:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:core:v1.79 > com.github.kotlin-graphics:gli:01358f8c project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics:gln:3e59f9ea project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics.uno-sdk:core:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:awt:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:vk:2b06aa78 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:glm:3466fcde Could not find org.lwjgl:lwjgl-remotery:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:glfw:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:vk:v1.79 Could not find org.lwjgl:lwjgl-vulkan:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:vk:v1.79 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:vk:v1.79 > com.github.kotlin-graphics:vkk:b06075d1 project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:vk:2b06aa78 Could not find org.lwjgl:lwjgl-openal:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics:gln:3e59f9ea project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:glm:3466fcde Could not find org.lwjgl:lwjgl-opengles:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:gl:v1.79 > com.github.kotlin-graphics:gln:3e59f9ea Could not find org.lwjgl:lwjgl-jawt:. Required by: project : > com.github.kotlin-graphics:imgui:v1.79 > com.github.kotlin-graphics.imgui:bgfx:v1.79 > com.github.kotlin-graphics:uno-sdk:2b06aa78 > com.github.kotlin-graphics.uno-sdk:awt:2b06aa78
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1s
</details>
Hello breandan,
jitpack is creating me some troubles recently
in the meanwhile I find another way, you should be able to fetch imgui anyway
please reference https://jitpack.io/#kotlin-graphics/imgui
under commits you find the most recent master commit, clone based on those
Here is the output when I use the most recent commit from JitPack:
implementation("com.github.kotlin-graphics.imgui:bgfx:b339be6257")
Click to expand!
breandan@romulus:~/IdeaProjects/HelloImGui$ ./gradlew build
FAILURE: Build failed with an exception.
* Where:
Build file '/home/breandan/IdeaProjects/HelloImGui/build.gradle.kts' line: 92
* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not find org.lwjgl:lwjgl:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:glfw:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:openjfx:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:kool:b393e4c2
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:vkk:cd252353
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gli:01358f8c
> Could not find org.lwjgl:lwjgl-glfw:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:glfw:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
> Could not find org.lwjgl:lwjgl-bgfx:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1
> Could not find org.lwjgl:lwjgl-stb:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
> Could not find org.lwjgl:lwjgl-jemalloc:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:kool:b393e4c2
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:vkk:cd252353
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gli:01358f8c
> Could not find org.lwjgl:lwjgl-opengl:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:glfw:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:core:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gli:01358f8c
> Could not find org.lwjgl:lwjgl-remotery:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:glfw:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
> Could not find org.lwjgl:lwjgl-vulkan:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:vk:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:vkk:cd252353
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
> Could not find org.lwjgl:lwjgl-openal:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:glm:3466fcde
> Could not find org.lwjgl:lwjgl-opengles:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:gl:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:gln:3e59f9ea
> Could not find org.lwjgl:lwjgl-jawt:.
Required by:
project : > com.github.kotlin-graphics:imgui:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT:b339be6257-1 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2s
breandan@romulus:~/IdeaProjects/HelloImGui$ ./gradlew build
> Task :startScripts FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':startScripts'.
> Could not resolve all files for configuration ':runtimeClasspath'.
> Could not find org.lwjgl:lwjgl:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics.imgui:core:b339be6257
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:kool:b393e4c2
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics.imgui:core:b339be6257 > com.github.kotlin-graphics:gli:9c67885f
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7 > com.github.kotlin-graphics:gln:ecc23df4
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7 > com.github.kotlin-graphics:vkk:cd252353
> Could not find org.lwjgl:lwjgl-glfw:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7 > com.github.kotlin-graphics:gln:ecc23df4
> Could not find org.lwjgl:lwjgl-bgfx:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257
> Could not find org.lwjgl:lwjgl-stb:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics.imgui:core:b339be6257
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7 > com.github.kotlin-graphics:gln:ecc23df4
> Could not find org.lwjgl:lwjgl-jemalloc:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics.imgui:core:b339be6257
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:kool:b393e4c2
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics.imgui:core:b339be6257 > com.github.kotlin-graphics:gli:9c67885f
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7 > com.github.kotlin-graphics:gln:ecc23df4
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7 > com.github.kotlin-graphics:vkk:cd252353
> Could not find org.lwjgl:lwjgl-opengl:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics.imgui:core:b339be6257 > com.github.kotlin-graphics:gli:9c67885f
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:core:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7 > com.github.kotlin-graphics:gln:ecc23df4
> Could not find org.lwjgl:lwjgl-jawt:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7
> Could not find org.lwjgl:lwjgl-vulkan:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:vk:f60532b7 > com.github.kotlin-graphics:vkk:cd252353
> Could not find org.lwjgl:lwjgl-openal:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:glm:3466fcde
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7 > com.github.kotlin-graphics:gln:ecc23df4
> Could not find org.lwjgl:lwjgl-opengles:.
Required by:
project : > com.github.kotlin-graphics.imgui:bgfx:b339be6257 > com.github.kotlin-graphics:uno-sdk:f60532b7 > com.github.kotlin-graphics.uno-sdk:awt:f60532b7 > com.github.kotlin-graphics:gln:ecc23df4
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 7s
Please let me know if you need any further information to diagnose. Thanks!
Until the error with jitpack is resolved, could this be a workaround?
Borrow this line from imgui's build.gradle: https://github.com/kotlin-graphics/imgui/blob/b339be6257504479c93b9bcca52bf18af98b71f2/build.gradle.kts#L28
adding it to your own dependencies
. Replace that ${findProperty(…)}
with a constant 3.2.3
for simplicity in troubleshooting.
Does that fix the error, or at least change it from "Could not find org.lwjgl:lwjgl:." to something that includes a version number?
Using a build scan as suggested by that "Try: Run with … --scan" message from gradle may show more info about where it has tried to find those dependencies, and you can directly link to the scan results from here.
I added a dependency to the lwjgl-bom
as you suggested and copied the contents of the gradle.properties
file to fetch the lwjglVersion
.
Here are the results of running ./gradlew build --scan
on breandan/HelloImGui@b59f9d088ba88bf5594ebe48fbc1932fed1be146. Please let me know if you need any additional information. Thanks!
Well, that's something different. I don't know much about how jitpack's snapshot builds work, but I don't see b340be6257
on the list at https://jitpack.io/#kotlin-graphics/imgui/
I guess I'd fiddle around with trying versions that appear there or going back to trying -SNAPSHOT
or master-SNAPSHOT
https://github.com/breandan/HelloImGui/blob/b59f9d088ba88bf5594ebe48fbc1932fed1be146/build.gradle.kts#L24-L25
I see the jitpack web interface selects the bgfx
subproject after clicking on the "get it" button, but I'm guessing that's only one part of the distribution. Which is probably as good as anything for testing to see whether it resolves, but once you get past the "could not find" failures for bgfx
you'll probably need to switch it back to imgui
(or maybe core
and a renderer?) to get the rest.
@keturn fork it, create a dummy commit and request that to trigger a new build
I don't see
b340be6257
Ah sorry, my bad! I restored the -SNAPSHOT
version and it now seems to build correctly, but cannot resolve import imgui.ImGui
. I think there might be a conflict between com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT
and com.github.kotlin-graphics.imgui:core:-SNAPSHOT
. Here are the ./gradlew run --scan
results for breandan/HelloImGui@1aa8d8d.
Hello! I'm sorry for hijacking this thread, but I believe my issue is related to this. I'm trying to build breandan's very same project, but gradle can't resolve the imgui dependency.
Output of ./gradlew build
:
Click to expand
> Task :compileKotlin FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT.
Required by:
project :
> Could not resolve com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT.
> Unable to load Maven meta-data from https://dl.bintray.com/kotlin/kotlin-dev/com/github/kotlin-graphics/imgui/bgfx/-SNAPSHOT/maven-metadata.xml.
> Could not get resource 'https://dl.bintray.com/kotlin/kotlin-dev/com/github/kotlin-graphics/imgui/bgfx/-SNAPSHOT/maven-metadata.xml'.
> Could not GET 'https://dl.bintray.com/kotlin/kotlin-dev/com/github/kotlin-graphics/imgui/bgfx/-SNAPSHOT/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
https://dl.bintray.com seems to respond with status 502 for all pages, and the whole repository may have shut down, so I tried removing that repository. This is the output now:
Click to expand
> Task :compileKotlin FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find com.github.kotlin-graphics.imgui:bgfx:-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/github/kotlin-graphics/imgui/bgfx/-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/github/kotlin-graphics/imgui/bgfx/-SNAPSHOT/bgfx--SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/com/github/kotlin-graphics/imgui/bgfx/-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/com/github/kotlin-graphics/imgui/bgfx/-SNAPSHOT/bgfx--SNAPSHOT.pom
- https://jitpack.io/com/github/kotlin-graphics/imgui/bgfx/-SNAPSHOT/maven-metadata.xml
- https://jitpack.io/com/github/kotlin-graphics/imgui/bgfx/-SNAPSHOT/bgfx--876ba2648e-1.pom
Required by:
project :
This is the output when I replace -SNAPSHOT
with the latest commit hash on Jitpack: 876ba2648e
.
Click to expand
> Task :compileKotlin FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find com.github.kotlin-graphics.imgui:bgfx:876ba2648e.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/github/kotlin-graphics/imgui/bgfx/876ba2648e/bgfx-876ba2648e.pom
- https://oss.sonatype.org/content/repositories/snapshots/com/github/kotlin-graphics/imgui/bgfx/876ba2648e/bgfx-876ba2648e.pom
- https://jitpack.io/com/github/kotlin-graphics/imgui/bgfx/876ba2648e/bgfx-876ba2648e.pom
Required by:
project :
Pleas advise 🙏
I have this same issue, it appears bintray was shutdown on 1st February 2022.
So it's unable to get the platform-source dependencies.
Could not find kotlin.graphics:platform-source:0.3.3+24
Any idea what repo these are hosted at now, if at all?