具有相同模块依赖性Intellij的多个插件文件
我已经在Intellij(社区版)中创建了一个核心模块,以轻松设置我的插件(Minecraft),并且不会重写每个UTIL类。
我遇到了一些问题:
假设我有2个插件,称为plugin1和plugin2,均导入mycoreapi模块。
如果我同时构建插件(一个和两个),将mycoreapi添加为文物中的编译输出,然后修改某些内容,例如,删除Mycoreapi内部的方法。我必须重建两个插件,因为它们具有相同的模块依赖es,并具有相同的包装。
是否有一种方法可以镜像或制作每个插件项目中使用不同包装的克隆? 示例:它不是两个插件的mrbast.mycoreapi,而是me.mrbast.pluginone.mycoreapi和me.mrbast.plugintwo.mycoreapi。
i have created a core module in IntelliJ (Community Edition) to setup easily my plugins(Minecraft) and do not re-write every Util class.
I have encountered a few problems:
Let's say i have 2 plugins, called Plugin1 and Plugin2, both import the MyCoreAPI module.
if i build both plugins(one and two), adding the MyCoreAPI as compile output in the artifacts and then modify something, let's say remove a method inside MyCoreAPI. I have to rebuild both Plugins because they have the same module dependecy with same package.
Is there a way to mirror or to make a clone with different package for each Plugin project?
example: instead of being me.mrbast.mycoreapi for both plugins, it becomes me.mrbast.PluginOne.mycoreapi and me.mrbast.PluginTwo.mycoreapi.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论