initial commit

This commit is contained in:
2024-04-13 02:12:12 +00:00
commit 395ab1e3ae
4 changed files with 147 additions and 0 deletions

70
pom.xml Normal file
View File

@@ -0,0 +1,70 @@
<?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>
<!--(Java Discord API) with JFlac and Tritonus-dsp -->
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>1.2.2_139</version> <!-- Update version to the latest stable version -->
<exclusions>
<exclusion>
<groupId>jflac</groupId>
<artifactId>jflac</artifactId>
</exclusion>
<exclusion>
<groupId>tritonus</groupId>
<artifactId>tritonus-dsp</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Logging-->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.23.1</version> <!-- Use the latest STABLE version -->
</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>