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 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")) } } 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