From f7097d56158debaa7040ab74b14cc1358ecf2528 Mon Sep 17 00:00:00 2001 From: urosjarc Date: Mon, 25 Mar 2024 21:56:17 +0100 Subject: [PATCH] Cleaning dependencies. --- build.gradle.kts | 11 +++++------ src/test/kotlin/impl/Test_Db2.kt | 2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index bc95a8f..34427e9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,7 +33,6 @@ java { } repositories { mavenCentral() - maven { url = URI("https://jitpack.io") } } testlogger { @@ -43,7 +42,7 @@ testlogger { koverReport { filters { excludes { classes("*.Test_*") } - includes { classes("com.urosjarc.dbmessiah.*") } + includes { classes("com.urosjarc.dbmessiah.extra.*") } } } @@ -93,11 +92,9 @@ tasks.dokkaHtml { dependencies { val dbMessiah = "0.0.1" - implementation(kotlin("reflect")) - implementation("org.apache.logging.log4j:log4j-api-kotlin:1.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0") - implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0") compileOnly("com.urosjarc:db-messiah:$dbMessiah") + compileOnly("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0") + compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0") testRuntimeOnly("com.ibm.db2:jcc:11.5.9.0") testRuntimeOnly("com.h2database:h2:2.2.224") @@ -109,6 +106,8 @@ dependencies { testRuntimeOnly("org.postgresql:postgresql:42.7.1") testRuntimeOnly("com.oracle.database.jdbc:ojdbc11:23.3.0.23.09") + testImplementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0") + testImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0") testImplementation("org.apache.logging.log4j:log4j-slf4j2-impl:2.20.0") testImplementation("org.jetbrains.kotlin:kotlin-test") testImplementation("com.urosjarc:db-messiah:$dbMessiah") diff --git a/src/test/kotlin/impl/Test_Db2.kt b/src/test/kotlin/impl/Test_Db2.kt index a8f0fad..9a227e8 100644 --- a/src/test/kotlin/impl/Test_Db2.kt +++ b/src/test/kotlin/impl/Test_Db2.kt @@ -3,6 +3,8 @@ package impl import com.urosjarc.dbmessiah.extra.serializers.KotlinxTimeTS import com.urosjarc.dbmessiah.impl.db2.Db2Serializer import com.urosjarc.dbmessiah.impl.db2.Db2Service +import com.urosjarc.dbmessiah.serializers.BasicTS +import com.urosjarc.dbmessiah.serializers.JavaTimeTS import org.junit.jupiter.api.BeforeAll import utils.* import utils.Serializers