Open fuma-nama opened 2 years ago
Sorry for the delay, I just updated it, could you give it a try?
implementation("kotlin.graphics:imgui-core:1.79+05")
implementation("kotlin.graphics:imgui-gl:1.79+05")
implementation("kotlin.graphics:imgui-glfw:1.79+05")
Nice, but I am getting "Could not resolve" error on build even after adding more repositories
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
val lwjglVersion = "3.3.1"
val lwjglNatives = "natives-windows"
plugins {
kotlin("jvm") version "1.7.20"
}
group = "org.example"
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")
maven("https://raw.githubusercontent.com/kotlin-graphics/mary/master")
}
dependencies {
implementation(platform("org.lwjgl:lwjgl-bom:$lwjglVersion"))
testImplementation(kotlin("test"))
implementation("kotlin.graphics:imgui-core:1.79+05")
implementation("kotlin.graphics:imgui-gl:1.79+05")
implementation("kotlin.graphics:imgui-glfw:1.79+05")
implementation("org.lwjgl", "lwjgl")
runtimeOnly("org.lwjgl", "lwjgl", classifier = lwjglNatives)
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
Is the project public?
Error is thrown in runtime when using in a Minecraft Mod it seems that 'static' is not a valid package name