毕业 – 消息“依赖包装来定义主要工件的扩展是什么意思”是什么意思?

我的毕业生版本输出消息
Deprecated: relying on packaging to define the extension of the main artifact is deprecated,and will not be supported in a future version of Gradle.

这是什么意思,如何使警告消失?

这就是说你依赖于一些它不知道的类型的文物,但是它可以通过使用pom的“包装”属性找到.这里有计划的改进,它们描述为 here.

相关文章

迭代器模式(Iterator)迭代器模式(Iterator)[Cursor]意图...
高性能IO模型浅析服务器端编程经常需要构造高性能的IO模型,...
策略模式(Strategy)策略模式(Strategy)[Policy]意图:定...
访问者模式(Visitor)访问者模式(Visitor)意图:表示一个...
命令模式(Command)命令模式(Command)[Action/Transactio...
生成器模式(Builder)生成器模式(Builder)意图:将一个对...