Skip to content

Commit 5f4cf77

Browse files
author
Francisco Solis
committed
New Methods & Updated Dependencies
* Added `Logger#debug` method * Added `Logger#severe(String, Exception)` method * Updated dependencies * Minecraft 1.19 Support
1 parent 6c6442f commit 5f4cf77

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## v0.2.2 - Snapshot
22
* Added `Logger#debug` method
33
* Added `Logger#severe(String, Exception)` method
4+
* Updated dependencies
5+
* Minecraft 1.19 Support
46

57
## v0.2.1 - Snapshot
68
* Updated Dependencies

build.gradle

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import org.apache.tools.ant.filters.ReplaceTokens
2-
31
plugins {
42
id 'org.jetbrains.kotlin.jvm' version '1.7.0'
53
id 'maven-publish'
64
id 'com.github.johnrengelman.shadow' version '7.1.2'
5+
id 'net.kyori.blossom' version '1.2.0'
76
id 'org.jetbrains.dokka' version '1.6.21'
87
}
98

@@ -14,6 +13,7 @@ version projectVersion
1413
description 'Just a logger for the SimpleCore API'
1514

1615
repositories {
16+
mavenLocal()
1717
mavenCentral()
1818

1919
maven { url 'https://repo.theprogramsrc.xyz/repository/maven-public/' }
@@ -27,9 +27,7 @@ repositories {
2727

2828
dependencies {
2929
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.7.0'
30-
compileOnly 'org.spigotmc:spigot-api:1.18.1-R0.1-SNAPSHOT'
31-
compileOnly 'net.md-5:bungeecord-api:1.18-R0.1-SNAPSHOT'
32-
compileOnly 'xyz.theprogramsrc:simplecoreapi:0.3.5-SNAPSHOT'
30+
compileOnly 'xyz.theprogramsrc:simplecoreapi:0.4.0-SNAPSHOT'
3331

3432
compileOnly 'org.apache.logging.log4j:log4j-api:2.17.2'
3533
compileOnly 'org.apache.logging.log4j:log4j-core:2.17.2'
@@ -56,8 +54,12 @@ java {
5654
withSourcesJar()
5755
}
5856

59-
processResources {
60-
filter ReplaceTokens, tokens: [name: rootProject.name, version: project.version.toString(), description: project.description, git_short: System.getenv("GIT_COMMIT_SHORT_HASH") ?: "unknown", git_full: System.getenv("GIT_COMMIT_LONG_HASH") ?: "unknown"]
57+
blossom {
58+
replaceToken '@name@', rootProject.name
59+
replaceToken '@version@', project.version.toString()
60+
replaceToken '@description@', project.description
61+
replaceToken '@git_short@', System.getenv("GIT_COMMIT_SHORT_HASH") ?: "unknown"
62+
replaceToken '@git_full@', System.getenv("GIT_COMMIT_LONG_HASH") ?: "unknown"
6163
}
6264

6365
tasks.withType(JavaCompile) {

0 commit comments

Comments
 (0)