[Plugin API Help]Adding PluginAPI.jar to a Gradle project... where I am wrong?

  • Hello everyone,


    I'm making a plugin that connects in-game chat and Discord, but I feel clueless on how to add PluginAPI.jar to a Gradle project.
    According to a few sources, I edited my build.gradle as follows.


    Even with the PluginAPI.jar in ./libs directory, NetBeans says it could not find a package named net.risingworld.api.
    Could anybody tell me where I did it wrong?



    I am using Gradle since I need to import APIs for Discord(JDA) and manage its dependencies as well.
    If there's any workaround for this, please tell me.


    Thanks in advance,



    Usiemon

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!