Skip to content

Commit

Permalink
refactor: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
BrycensRanch committed Mar 4, 2023
1 parent 1866b6f commit ae52dc9
Show file tree
Hide file tree
Showing 16 changed files with 284 additions and 480 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hash-release.yml
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Upload hashes to release
# I don't exactly trust this random action I found on the internet, but it seems to work.
# However, along as we use this specific commit, it should be fine.
uses: AButler/upload-release-assets@b2b56d8ca22109e8606ac54603ab60dfb32058a7
uses: AButler/upload-release-assets@c94805dc72e4b20745f543da0f62eaee7722df7a
with:
repo-token: ${{ secrets.GH_TOKEN }}
files: 'hashes*.txt'
17 changes: 16 additions & 1 deletion build.gradle
Expand Up @@ -77,7 +77,7 @@ group project.property("group")

if (System.getenv("CI") == null) {
if (version == null || version == "") {
version = getTime() + "-SNAPSHOT"
version = "SNAPSHOT"
} else if (gitBranchName.contains("alpha") || gitBranchName.contains("beta") || gitBranchName.contains("rc")) {
version = version + "-" + gitBranchName + "-SNAPSHOT";
} else {
Expand Down Expand Up @@ -206,6 +206,9 @@ dependencies {
library 'org.projectlombok:lombok:1.18.26';
library 'com.fasterxml.jackson.core:jackson-annotations:2.14.2'
library 'com.fasterxml.jackson.core:jackson-databind:2.14.2';
// The following is required for the @Command annotation to work, probably...
// I just got errors without it.
library 'io.leangen.geantyref:geantyref:1.3.13'
annotationProcessor('org.projectlombok:lombok:1.18.26')
annotationProcessor('com.fasterxml.jackson.core:jackson-annotations:2.14.2')
library 'com.fasterxml.jackson.dataformat:jackson-dataformat-properties:2.14.2'
Expand Down Expand Up @@ -242,6 +245,18 @@ dependencies {
implementation "net.kyori:adventure-api:4.12.0"
implementation "net.kyori:adventure-platform-bukkit:4.2.0"
implementation "net.kyori:adventure-text-minimessage:4.12.0"

// Test dependencies
// spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.12.0'
// testCompileOnly 'com.github.spotbugs:spotbugs-annotations:4.7.3'
// testImplementation("org.projectlombok:lombok:1.18.26")
// testImplementation("com.fasterxml.jackson.core:jackson-annotations:2.14.2")
// testImplementation("com.fasterxml.jackson.core:jackson-databind:2.14.2")
// testImplementation("io.javalin:javalin-bundle:5.3.2")
// testImplementation 'org.junit.jupiter:junit-jupiter:5.9.2'
// testImplementation 'org.mockito:mockito-core:5.1.1'
// testImplementation 'com.github.seeseemelk:MockBukkit-v1.19:2.145.0'
// testImplementation 'org.assertj:assertj-core:3.24.2'
}
shadowJar {
archiveClassifier.set("")
Expand Down

0 comments on commit ae52dc9

Please sign in to comment.