mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-29 22:27:33 +00:00
[Fix][Add][Dependency] Framework-Mirai 修复框架描述文件的规范错误, 添加 package 打包插件;
[Fix] framework.json 修复描述文件对必须版本要求(requiresVersion)的规范错误; [Add][Dependency] Framework-Mirai/pom.xml 添加 maven-assembly-plugin 插件以打包所需依赖项(模块是单独的, 并非与其他模块一起打包);
This commit is contained in:
parent
82c97cc924
commit
b0041d7d9d
@ -42,6 +42,31 @@
|
|||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<version>3.3.0</version>
|
||||||
|
<configuration>
|
||||||
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
|
<descriptorRefs>
|
||||||
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||||
|
</descriptorRefs>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>make-assembly</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.lamgc</groupId>
|
<groupId>net.lamgc</groupId>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"id": "cgj-mirai",
|
"id": "cgj-mirai",
|
||||||
"description": "ContentGrabbingJi官方实现的, 基于 Mirai 框架的QQ平台组件",
|
"description": "ContentGrabbingJi官方实现的, 基于 Mirai 框架的QQ平台组件",
|
||||||
"version": "3.0.0-alpha",
|
"version": "3.0.0-alpha",
|
||||||
"requiresVersion": "=>3.0.0",
|
"requiresVersion": "3.0.0",
|
||||||
"provider": "Github@LamGC, Github@mamoe",
|
"provider": "Github@LamGC, Github@mamoe",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"frameworkClass": "net.lamgc.cgj.bot.framework.mirai.MiraiMain",
|
"frameworkClass": "net.lamgc.cgj.bot.framework.mirai.MiraiMain",
|
||||||
|
Loading…
Reference in New Issue
Block a user