Skip to content

Commit 72b0c07

Browse files
author
Francisco Solis
authored
Updated README & Build Script (#36)
* Updated README & Build Script Signed-off-by: Francisco Solis <[email protected]> * Fix module.properties & LogFilter.kt Signed-off-by: Francisco Solis <[email protected]> * Update CHANGELOG Signed-off-by: Francisco Solis <[email protected]> --------- Signed-off-by: Francisco Solis <[email protected]>
1 parent 793904b commit 72b0c07

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.3.1 - Snapshot
2+
* Fix module.properties file
3+
* Update README.md
4+
15
## v0.3.0 - Snapshot
26
* Updated to gradle kotlin dsl
37
* Added sonatype

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[![](https://jitci.com/gh/TheProgramSrc/SimpleCore-LoggingModule/svg)](https://jitci.com/gh/TheProgramSrc/SimpleCore-LoggingModule)
22
[![](https://jitpack.io/v/TheProgramSrc/SimpleCore-LoggingModule.svg)](https://jitpack.io/#TheProgramSrc/SimpleCore-LoggingModule)
3+
[![](https://img.shields.io/nexus/s/xyz.theprogramsrc/loggingmodule?server=https%3A%2F%2Fs01.oss.sonatype.org)]()
34

45

56
# SimpleCore-LoggingModule

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ tasks {
8888
}
8989

9090
dokkaHtml {
91-
val dokkaFolder = file(project.buildDir.absolutePath + "/dokka")
92-
outputDirectory.set(dokkaFolder)
91+
outputDirectory.set(file(project.buildDir.absolutePath + "/dokka"))
9392

9493
}
9594
}

src/main/kotlin/xyz/theprogramsrc/loggingmodule/filter/LogFilter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import org.apache.logging.log4j.message.Message
1414
* @param result The result to use if the filter matches
1515
* @param filteredStrings The strings that a message must contain to be filtered
1616
*/
17-
open class LogFilter(val result: FilterResult = FilterResult.NEUTRAL, val filteredStrings: Array<String>): AbstractFilter() {
17+
open class LogFilter(private val result: FilterResult = FilterResult.NEUTRAL, private val filteredStrings: Array<String>): AbstractFilter() {
1818

1919
/**
2020
* Extra requirements for a string filter to be matched

src/main/resources/module.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name=LoggingModule
33
description=@description@
44
version=@version@
55
author=TheProgramSrc
6-
repository-id=loggingmodule
6+
module-id=loggingmodule

0 commit comments

Comments
 (0)