husker-dev / openglfx

OpenGL implementation for JavaFX
Apache License 2.0
80 stars 10 forks source link

Maven support without Jitpack #7

Closed Lewinator56 closed 9 months ago

Lewinator56 commented 2 years ago

Simple as the title, this appears to be one of the few implementations of openGL in javafx that pretty much fits my needs for the application im developing, which is however not using koltin and uses maven and normal java source. Maybe i'm missing something to get this working however.

husker-dev commented 2 years ago

Thanks for your interest in my project!

The Kotlin library (kotlin-stdlib) does not require the use of Kotlin language itself. Therefore, it can be added to a regular Java project

Pure Maven support is planned for the near future. For now you can use JitPack in Maven:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>com.github.husker-dev.openglfx</groupId>
    <artifactId>core</artifactId>
    <version>2.5.1</version>
</dependency>
<dependency>
    <groupId>com.github.husker-dev.openglfx</groupId>
    <artifactId>lwjgl</artifactId>
    <version>2.5.1</version>
</dependency>

<dependency>
    <groupId>org.jetbrains.kotlin</groupId>
    <artifactId>kotlin-stdlib</artifactId>
    <version>1.6.10</version>
</dependency>
Lewinator56 commented 2 years ago

thanks for getting back so quickly, now ive just got to get everything working

husker-dev commented 2 years ago

I will reopen the issue to leave a reminder to do Maven support without Jitpack

husker-dev commented 9 months ago

Finally, after 1.5 years, it is completed!

Will be available as Gradle or Maven dependency:

implementation 'com.huskerdev:openglfx:3.1'
implementation 'com.huskerdev:openglfx-lwjgl:3.1'
implementation 'com.huskerdev:openglfx-jogl:3.1'