Skip to content

Commit

Permalink
up version to 2.04
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLCaron committed Feb 18, 2024
1 parent dd64f2f commit f957190
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion egklib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repositories {
}

group = "electionguard-kotlin-multiplatform"
version = "2.0.3-SNAPSHOT"
version = "2.0.4-SNAPSHOT"

kotlin {
jvm {
Expand Down
3 changes: 1 addition & 2 deletions egklib/src/commonMain/kotlin/electionguard/core/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ fun <T : Any> List<T?>.noNullValuesOrNull(): List<T>? {

/**
* Normally, Kotlin's `Enum.valueOf` or [enumValueOf] method will throw an exception for an invalid
* input. This method will instead return `null` if the string doesn't map to a valid value of the
* enum.
* input. This method will instead return `null` if the string doesn't map to a valid value of the enum.
*/
inline fun <reified T : Enum<T>> safeEnumValueOf(name: String?): T? {
if (name == null) {
Expand Down
2 changes: 1 addition & 1 deletion egkliball/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
}

dependencies {
implementation(files("../egklib/build/libs/egklib-jvm-2.0.3-SNAPSHOT.jar")) // add the library to the fatJar
implementation(files("../egklib/build/libs/egklib-jvm-2.0.4-SNAPSHOT.jar")) // add the library to the fatJar
implementation(libs.bundles.eglib)
implementation(libs.logback.classic)
}
Expand Down

0 comments on commit f957190

Please sign in to comment.