matthewprenger / CurseGradle

Gradle plugin to upload Minecraft mods to CurseForge
MIT License
1 stars 1 forks source link

Add IDE Hints #11

Closed thiakil closed 6 years ago

thiakil commented 6 years ago

The first commit adds hints that IDEs such as IDEA can read to determine autocompletion and type compatibility.

The second commit changes the CurseRelation functions to concrete members so that the IDE can see that they exist. I did this as a separate commit in case you really don't want it :)

Before/After: cursegradle (for the unfamiliar: grey & underlined = IDE can't resolve it, same for the white ones that are purple on the After)

Keridos commented 6 years ago

Any update on this @matthewprenger ?

matthewprenger commented 6 years ago

https://github.com/matthewprenger/CurseGradle/releases/tag/1.0.11