From 8572700f48c8e9f8a7501ee0c78e83533635db57 Mon Sep 17 00:00:00 2001 From: Francisco Solis Date: Wed, 15 Feb 2023 09:18:38 -0300 Subject: [PATCH 1/3] Updated README & Build Script Signed-off-by: Francisco Solis --- README.md | 1 + build.gradle.kts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64cb50b..3f9adeb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ [![](https://jitci.com/gh/TheProgramSrc/SimpleCore-LoggingModule/svg)](https://jitci.com/gh/TheProgramSrc/SimpleCore-LoggingModule) [![](https://jitpack.io/v/TheProgramSrc/SimpleCore-LoggingModule.svg)](https://jitpack.io/#TheProgramSrc/SimpleCore-LoggingModule) +[![](https://img.shields.io/nexus/s/xyz.theprogramsrc/loggingmodule?server=https%3A%2F%2Fs01.oss.sonatype.org)]() # SimpleCore-LoggingModule diff --git a/build.gradle.kts b/build.gradle.kts index b5054a4..1a28ac2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -88,8 +88,7 @@ tasks { } dokkaHtml { - val dokkaFolder = file(project.buildDir.absolutePath + "/dokka") - outputDirectory.set(dokkaFolder) + outputDirectory.set(file(project.buildDir.absolutePath + "/dokka")) } } From 8d5515ce3c3ca0c669bb171f5b91e98f8a70cca2 Mon Sep 17 00:00:00 2001 From: Francisco Solis Date: Wed, 15 Feb 2023 09:21:29 -0300 Subject: [PATCH 2/3] Fix module.properties & LogFilter.kt Signed-off-by: Francisco Solis --- .../kotlin/xyz/theprogramsrc/loggingmodule/filter/LogFilter.kt | 2 +- src/main/resources/module.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/xyz/theprogramsrc/loggingmodule/filter/LogFilter.kt b/src/main/kotlin/xyz/theprogramsrc/loggingmodule/filter/LogFilter.kt index 2f5c715..ea9cf31 100644 --- a/src/main/kotlin/xyz/theprogramsrc/loggingmodule/filter/LogFilter.kt +++ b/src/main/kotlin/xyz/theprogramsrc/loggingmodule/filter/LogFilter.kt @@ -14,7 +14,7 @@ import org.apache.logging.log4j.message.Message * @param result The result to use if the filter matches * @param filteredStrings The strings that a message must contain to be filtered */ -open class LogFilter(val result: FilterResult = FilterResult.NEUTRAL, val filteredStrings: Array): AbstractFilter() { +open class LogFilter(private val result: FilterResult = FilterResult.NEUTRAL, private val filteredStrings: Array): AbstractFilter() { /** * Extra requirements for a string filter to be matched diff --git a/src/main/resources/module.properties b/src/main/resources/module.properties index 7678ff7..838c8ac 100644 --- a/src/main/resources/module.properties +++ b/src/main/resources/module.properties @@ -3,4 +3,4 @@ name=LoggingModule description=@description@ version=@version@ author=TheProgramSrc -repository-id=loggingmodule +module-id=loggingmodule From b9d155df9a97e75a3ea3c4abaeb6948a35bdb984 Mon Sep 17 00:00:00 2001 From: Francisco Solis Date: Wed, 15 Feb 2023 09:23:52 -0300 Subject: [PATCH 3/3] Update CHANGELOG Signed-off-by: Francisco Solis --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 303930c..51a0e4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.3.1 - Snapshot +* Fix module.properties file +* Update README.md + ## v0.3.0 - Snapshot * Updated to gradle kotlin dsl * Added sonatype