|
|
@@ -0,0 +1,101 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<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">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <artifactId>mirai-debug</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+
|
|
|
+ <packaging>jar</packaging>
|
|
|
+
|
|
|
+ <parent>
|
|
|
+ <groupId>net.mamoe</groupId>
|
|
|
+ <artifactId>mirai</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ <relativePath>../pom.xml</relativePath>
|
|
|
+ </parent>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.mamoe</groupId>
|
|
|
+ <artifactId>mirai-core</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- https://mvnrepository.com/artifact/jpcap/jpcap -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>jpcap</groupId>
|
|
|
+ <artifactId>jpcap</artifactId>
|
|
|
+ <version>0.1.18-002</version>
|
|
|
+ <scope>system</scope>
|
|
|
+ <systemPath>${project.basedir}/lib/jpcap.jar</systemPath>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.protobuf</groupId>
|
|
|
+ <artifactId>protobuf-java</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.jetbrains.kotlinx</groupId>
|
|
|
+ <artifactId>kotlinx-coroutines-core</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.jetbrains.kotlin</groupId>
|
|
|
+ <artifactId>kotlin-stdlib</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.jetbrains.kotlin</groupId>
|
|
|
+ <artifactId>kotlin-reflect</artifactId>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <sourceDirectory>src/main/kotlin</sourceDirectory>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>/src/main/resources</directory>
|
|
|
+
|
|
|
+ <includes>
|
|
|
+ <include>**/*.*</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-shade-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok-maven-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.jetbrains.kotlin</groupId>
|
|
|
+ <artifactId>kotlin-maven-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>compile</id>
|
|
|
+ <phase>compile</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>compile</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+ <args>
|
|
|
+ <arg>-XXLanguage:+InlineClasses</arg>
|
|
|
+ </args>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+</project>
|