mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-29 22:27:33 +00:00
[Fix] framework.json 修复描述文件对必须版本要求(requiresVersion)的规范错误; [Add][Dependency] Framework-Mirai/pom.xml 添加 maven-assembly-plugin 插件以打包所需依赖项(模块是单独的, 并非与其他模块一起打包);
96 lines
3.3 KiB
XML
96 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright (C) 2020 LamGC
|
|
~
|
|
~ ContentGrabbingJi is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU Affero General Public License as
|
|
~ published by the Free Software Foundation, either version 3 of the
|
|
~ License, or (at your option) any later version.
|
|
~
|
|
~ ContentGrabbingJi is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU Affero General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU Affero General Public License
|
|
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>ContentGrabbingJi</artifactId>
|
|
<groupId>net.lamgc</groupId>
|
|
<version>3.0.0-alpha-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>ContentGrabbingJi-framework-mirai</artifactId>
|
|
|
|
<properties>
|
|
<mirai.CoreVersion>1.3.3</mirai.CoreVersion>
|
|
<mirai.JaptVersion>1.1.1</mirai.JaptVersion>
|
|
<kotlin.version>1.4.0</kotlin.version>
|
|
<ktor.version>1.4.0</ktor.version>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>jcenter</id>
|
|
<url>https://jcenter.bintray.com/</url>
|
|
</repository>
|
|
</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>
|
|
<dependency>
|
|
<groupId>net.lamgc</groupId>
|
|
<artifactId>ContentGrabbingJi-framework-api</artifactId>
|
|
<version>3.0.0-alpha-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<!-- Mirai相关依赖 -->
|
|
<dependency>
|
|
<groupId>net.mamoe</groupId>
|
|
<artifactId>mirai-core</artifactId>
|
|
<version>${mirai.CoreVersion}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.mamoe</groupId>
|
|
<artifactId>mirai-core-qqandroid</artifactId>
|
|
<version>${mirai.CoreVersion}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-core</artifactId>
|
|
<version>${ktor.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project> |