diff --git a/.idea/misc.xml b/.idea/misc.xml index 38b4a97..32e560b 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,9 @@ + + + diff --git a/build.gradle.kts b/build.gradle.kts index 9c71270..06a4d1d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,13 +1,13 @@ plugins { id("maven") id("java") - id("org.jetbrains.kotlin.jvm") version "1.4.10" - id("org.jlleitschuh.gradle.ktlint") version "9.3.0" + id("org.jetbrains.kotlin.jvm") version "1.4.21" + id("org.jlleitschuh.gradle.ktlint") version "9.4.1" id("jacoco") } group = "com.mapk" -version = "0.18" +version = "0.19" java { sourceCompatibility = JavaVersion.VERSION_1_8 @@ -31,14 +31,14 @@ dependencies { implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") implementation(kotlin("reflect")) // https://mvnrepository.com/artifact/org.jetbrains/annotations - compileOnly(group = "org.jetbrains", name = "annotations", version = "19.0.0") + compileOnly(group = "org.jetbrains", name = "annotations", version = "20.1.0") // https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter - testImplementation(group = "org.junit.jupiter", name = "junit-jupiter", version = "5.6.2") { + testImplementation(group = "org.junit.jupiter", name = "junit-jupiter", version = "5.7.0") { exclude(group = "org.junit.vintage", module = "junit-vintage-engine") } // https://mvnrepository.com/artifact/io.mockk/mockk - testImplementation("io.mockk:mockk:1.10.0") + testImplementation("io.mockk:mockk:1.10.3-jdk8") } tasks { diff --git a/src/test/kotlin/com/mapk/core/internal/FullInitializedFunctionWrapperTest.kt b/src/test/kotlin/com/mapk/core/internal/FullInitializedFunctionWrapperTest.kt index b832344..9a75e7d 100644 --- a/src/test/kotlin/com/mapk/core/internal/FullInitializedFunctionWrapperTest.kt +++ b/src/test/kotlin/com/mapk/core/internal/FullInitializedFunctionWrapperTest.kt @@ -31,7 +31,9 @@ class FullInitializedFunctionWrapperTest { val func = Dst::class.companionObject!!.functions.first { it.name == "of" } val instance = Dst::class.companionObjectInstance!! val fullInitializedFunctionWrapper = FullInitializedFunctionWrapper( - func, instance, 3 + func, + instance, + 3 ) assertEquals(expected, fullInitializedFunctionWrapper.call(arrayOf(instance, 1, "2"))) }