workflow, repo changes

This commit is contained in:
Kiran Hart 2021-02-26 16:45:50 -05:00
parent fd5559547c
commit 54cf4cb705
6 changed files with 45 additions and 13 deletions

19
.github/workflows/maven.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Auction House Build
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn package

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
/target/
.idea
/src/test/
.idea
AuctionHouse.iml

1
.mvn/maven.config Normal file
View File

@ -0,0 +1 @@
-s settings.xml

17
pom.xml
View File

@ -94,6 +94,10 @@
<id>nms-repo</id>
<url>https://repo.codemc.org/repository/nms/</url>
</repository>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/kiranhart/*</url>
</repository>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
@ -103,21 +107,20 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.16.3-R0.1-SNAPSHOT</version>
<version>1.16.5-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ca.tweetzy</groupId>
<artifactId>tweetycore</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ca.tweetzy</groupId>
<artifactId>TweetyCore</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>

13
settings.xml Normal file
View File

@ -0,0 +1,13 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>github</id>
<username>kiranhart</username>
<password>&#102;&#54;&#97;&#55;&#98;&#57;&#98;&#49;&#97;&#100;&#49;&#56;&#99;&#48;&#99;&#101;&#52;&#100;&#51;&#55;&#54;&#53;&#99;&#98;&#55;&#55;&#54;&#100;&#50;&#98;&#98;&#97;&#49;&#101;&#56;&#51;&#97;&#55;&#52;&#54;</password>
</server>
</servers>
</settings>

View File

@ -2,9 +2,7 @@ package ca.tweetzy.auctionhouse.auction;
import ca.tweetzy.auctionhouse.api.AuctionAPI;
import ca.tweetzy.auctionhouse.settings.Settings;
import ca.tweetzy.core.utils.PlayerUtils;
import ca.tweetzy.core.utils.TextUtils;
import ca.tweetzy.core.utils.items.ItemUtils;
import ca.tweetzy.core.utils.nms.NBTEditor;
import lombok.Getter;
import lombok.Setter;
@ -13,11 +11,8 @@ import org.bukkit.Bukkit;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import java.math.BigDecimal;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.UUID;
import java.util.stream.Collectors;