63 lines
2.3 KiB
XML
63 lines
2.3 KiB
XML
<?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>
|
|
|
|
<groupId>com.example</groupId>
|
|
<artifactId>minecraft-chatbot</artifactId>
|
|
<version>1.0</version>
|
|
|
|
<properties>
|
|
<!-- Specify Java version -->
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Spigot API dependency -->
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.20.4-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Google API dependency -->
|
|
<dependency>
|
|
<groupId>com.google.api-client</groupId>
|
|
<artifactId>google-api-client</artifactId>
|
|
<version>2.4.0</version>
|
|
</dependency>
|
|
|
|
<!-- Discord API dependency -->
|
|
<!-- https://mvnrepository.com/artifact/net.dv8tion/JDA -->
|
|
<dependency>
|
|
<groupId>net.dv8tion</groupId>
|
|
<artifactId>JDA</artifactId>
|
|
<version>5.0.0-beta.22</version> <!-- or the latest version available -->
|
|
</dependency>
|
|
|
|
<!-- Add other dependencies as needed -->
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Maven Compiler Plugin configuration -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version> <!-- Use the appropriate version -->
|
|
<configuration>
|
|
<source>21</source> <!-- Update to the Java version you're using -->
|
|
<target>21</target> <!-- Update to the Java version you're using -->
|
|
<compilerArgs>
|
|
<arg>--enable-preview</arg> <!-- Enable preview features -->
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Add other plugins as needed -->
|
|
</plugins>
|
|
</build>
|
|
</project>
|