Skip to content

Commit 7e06493

Browse files
Fix Junit Dependencies (#33)
- Fix issue with JUnit dependencies - Refresh test cache - Update dependencies
1 parent a037a32 commit 7e06493

File tree

7 files changed

+11
-13
lines changed

7 files changed

+11
-13
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ println("Java v${System.getProperty("java.version")}")
1919
println("Arch: ${System.getProperty("os.arch")}")
2020

2121
group = "github.buriedincode"
22-
version = "0.3.0"
22+
version = "0.3.1"
2323

2424
repositories {
2525
mavenCentral()
@@ -30,8 +30,8 @@ dependencies {
3030
implementation(libs.bundles.kotlinx.serialization)
3131
implementation(libs.kotlin.logging)
3232
runtimeOnly(libs.sqlite.jdbc)
33-
testImplementation(libs.junit.jupiter.api)
34-
testRuntimeOnly(libs.junit.jupiter.engine)
33+
testImplementation(libs.junit.jupiter)
34+
testRuntimeOnly(libs.junit.platform.launcher)
3535
testRuntimeOnly(libs.kotlin.reflect)
3636
testRuntimeOnly(libs.log4j2.slf4j2.impl)
3737
}

cache.sqlite

0 Bytes
Binary file not shown.

gradle/libs.versions.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
[versions]
2-
junit = "5.11.4"
32
kotlin = "2.1.10"
43

54
[plugins]
65
dokka = { id = "org.jetbrains.dokka", version = "2.0.0" }
76
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
87
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
9-
ktlint = { id = "org.jlleitschuh.gradle.ktlint", version = "12.1.2" }
8+
ktlint = { id = "org.jlleitschuh.gradle.ktlint", version = "12.2.0" }
109
versions = { id = "com.github.ben-manes.versions", version = "0.52.0" }
1110

1211
[libraries]
13-
junit-jupiter-api = { group = "org.junit.jupiter", name = "junit-jupiter-api", version.ref = "junit" }
14-
junit-jupiter-engine = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "junit" }
15-
kotlin-logging = { group = "io.github.oshai", name = "kotlin-logging-jvm", version = "7.0.4" }
12+
junit-jupiter = { group = "org.junit.jupiter", name = "junit-jupiter", version = "5.12.0" }
13+
junit-platform-launcher = { group = "org.junit.platform", name = "junit-platform-launcher" }
14+
kotlin-logging = { group = "io.github.oshai", name = "kotlin-logging-jvm", version = "7.0.5" }
1615
kotlin-reflect = { group = "org.jetbrains.kotlin", name = "kotlin-reflect", version.ref = "kotlin" }
1716
kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version = "0.6.2" }
1817
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version = "1.8.0" }

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

src/main/kotlin/github/buriedincode/kraken/Utils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ internal fun KLogger.log(level: Level, message: () -> Any?) {
2626
/**
2727
* The version of the Kraken library.
2828
*/
29-
internal const val VERSION = "0.3.0"
29+
internal const val VERSION = "0.3.1"

src/test/kotlin/github/buriedincode/kraken/schemas/SeriesTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SeriesTest {
3131
@Test
3232
fun `Test ListSeries with a valid search`() {
3333
val results = session.listSeries(params = mapOf("name" to "Bone"))
34-
assertEquals(10, results.size)
34+
assertEquals(12, results.size)
3535
assertAll(
3636
{ assertEquals(119, results[0].id) },
3737
{ assertEquals(56, results[0].issueCount) },

0 commit comments

Comments
 (0)