Hi, i have a jira server plugin and i want to publish it to atlassian marketplace, so the question is what is the best way to disable some of plugin functionality, with invalid or expired licence without inserting this kind of check everywhere
PluginLicense license = pluginLicenseManager.getLicense().get();
HERE YOUR FUNCTIONALITY
I want to implement something elegant and something that is hard to decompile. I know that i can use obfuscators and so on.
I know the way of disabling functionality in ScriptRunner where they unregister all modules, when licence expired and register some new modules dynamically(with atlassian-pocketknife-dynamic-modules ) Or something that is hard to decompile and change.
Maybe you can help me to implement something more complex and protected