autaut03 / kottle

Kotlin language provider for Forge 1.13.2+
GNU Lesser General Public License v3.0
30 stars 13 forks source link

Provide slim jar without packaged kotlin library #21

Closed mattmess1221 closed 4 years ago

mattmess1221 commented 4 years ago

During dev-time, viewing kotlin sources in intellij often selects the class from Kottle's jar instead of the proper kotlin-jvm dependency. Since sources are not available when grabbing from curse, intellij can't find the sources for kotlin and shows decompiled data instead. This is less than ideal as it removes javadocs as well.

With kottle image

Without kottle image

Providing a slim jar without kotlin for the development environment would resolve this issue.

autaut03 commented 4 years ago

Hey. By any chance, might clicking "Choose sources" also fix the problem?

mattmess1221 commented 4 years ago

Yes, but it can become tedious to attach each sources jar. If you give the jar task a classifier (shadowJar overwrites it), I could at least import it using jitpack.

autaut03 commented 4 years ago

Haven't had much time to look into this, sorry.

If this is still relevant for you, take a look at https://github.com/autaut03/kottle/pull/22.