Closed Szczurowsky closed 1 year ago
Just use the dev classifier. Due the state that you only use API methods it shouldn't be a problem.
It was something I brought up at paperweight but didn't investigate further.
For further info here is what I brought up https://github.com/PaperMC/paperweight/pull/137 and it resulted in an issue that probably will be fixed in the future. https://github.com/PaperMC/paperweight/issues/177
Describe the bug Builded libraries (from 1.18.2 version) contain few variants. When gradle uses worldborderapi as compile only dependency it doesn't load a dependency overall.
1.18.1 (Working)
1.18.2 (Not working)
Further while using affected version's gradle prints an information
Overall it makes library undetected in IntelliJ which makes library nearly unusable while using gradle.
To Reproduce Steps to reproduce the behavior:
Expected behavior Library is imported, working and shown in External Libraries
Screenshots
Desktop (please complete the following information):
Proof of concept
When deleted manually other variants and left only this one which was intiallly on 1.18.1 everything works fine. Proof: https://repo.mcmanhunt.com/#/releases/pl/szczurowsky/worldborderapi
Also works when dependency imported while choosing variant