Update gitignore & fix pom
pom.xml needs a lot of work - this just gets it to compile. leaving this for someone more experienced in maven
This commit is contained in:
parent
4a1528bea2
commit
1e4fb03226
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,5 +3,6 @@ target
|
|||
/target
|
||||
/.idea
|
||||
config.yml
|
||||
dependency-reduced-pom.xml
|
||||
out
|
||||
/out/
|
57
pom.xml
57
pom.xml
|
@ -6,20 +6,24 @@
|
|||
|
||||
<groupId>moe.oko</groupId>
|
||||
<artifactId>Kiafumi</artifactId>
|
||||
<name>Kiafumi</name>
|
||||
<version>0.5</version>
|
||||
<packaging>jar</packaging>
|
||||
<url>https://oko.moe/kiafumi.htm</url>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<project.jdk.version>17</project.jdk.version>
|
||||
<mainclass>moe.oko.Kiafumi.Kiafumi</mainclass>
|
||||
</properties>
|
||||
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/net.dv8tion/JDA -->
|
||||
<!-- JDA (https://mvnrepository.com/artifact/net.dv8tion/JDA) -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>net.dv8tion</groupId>
|
||||
<artifactId>JDA</artifactId>
|
||||
<version>5.0.0-alpha.9</version>
|
||||
<scope>compile</scope>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>me.carleslc.Simple-YAML</groupId>
|
||||
|
@ -69,4 +73,49 @@
|
|||
<url>https://jcenter.bintray.com</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>${project.jdk.version}</source>
|
||||
<target>${project.jdk.version}</target>
|
||||
<compilerVersion>${project.jdk.version}</compilerVersion>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<index>true</index>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<mainClass>${mainclass}</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
Loading…
Reference in a new issue