Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresolved reference: lwjgl #3

Closed
RefuX opened this issue Sep 19, 2023 · 2 comments
Closed

Unresolved reference: lwjgl #3

RefuX opened this issue Sep 19, 2023 · 2 comments

Comments

@RefuX
Copy link

RefuX commented Sep 19, 2023

Hi there,

I have created a new project in IntelliJ and when I try to use your plugin I get "Unresolved reference: lwjgl"

plugins {
    id("org.lwjgl.plugin") version "0.0.34"
    kotlin("jvm") version "1.9.0"
    application
}

group = "org.example"
version = "1.0-SNAPSHOT"

repositories {
    mavenCentral()
}

dependencies {
    testImplementation(kotlin("test"))

    lwjgl {
        implementation(Preset.everything)
    }
}

tasks.test {
    useJUnitPlatform()
}

kotlin {
    jvmToolchain(8)
}

application {
    mainClass.set("MainKt")
}

Thanks for any help!

@JuraSciix
Copy link

Hello. Use the following solution for Groovy:

import org.lwjgl.Lwjgl

plugins {
    id 'org.lwjgl.plugin' version '0.0.34'
}

repositories {
    mavenCentral()
}

Lwjgl.INSTANCE.implementation(dependencies, Lwjgl.Preset.everything)

@elect86
Copy link
Collaborator

elect86 commented Sep 5, 2024

Please re-open if still valid

@elect86 elect86 closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants