WesJD / AnvilGUI

Capture user input in Minecraft through an anvil GUI in under 20 lines of code
MIT License
466 stars 111 forks source link

Kotlin DSL Builder version #302

Open WesJD opened 8 months ago

WesJD commented 8 months ago

Originally posted by Pseudow November 1, 2023 Add kotlin DSL option would be so good

0dinD commented 2 months ago

I don't understand what this issue is about? Is it just a documentation issue (only Maven instructions are provided right now)? Because you can already use AnvilGUI from a Gradle project (Groovy or Kotlin).

portlek commented 2 months ago

I don't understand what this issue is about? Is it just a documentation issue (only Maven instructions are provided right now)? Because you can already use AnvilGUI from a Gradle project (Groovy or Kotlin).

it's not about using it in kotlin environment, DSL is a thing that you implement in a library to give better support for kotlin. people can use the library with kotlin. DSL builder is a thing that you implement to make the kotlin users easier to use the existing library.

0dinD commented 2 months ago

Yeah I was just about to write that I now realize they were talking about the AnvilGUI.Builder class. I thought they meant Gradle when they just said "Kotlin DSL".