From 5cf8b81992b18e7950c782e6b8e26f326453c0b0 Mon Sep 17 00:00:00 2001 From: Yongshun Shreck Ye Date: Sun, 24 Nov 2024 14:01:45 +0800 Subject: [PATCH] Move a TODO and the "exposed-jdbc" dependency to the "postgresql" module --- core/build.gradle.kts | 2 -- postgresql/build.gradle.kts | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/build.gradle.kts b/core/build.gradle.kts index eb0ab79..88efa6b 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -4,8 +4,6 @@ plugins { dependencies { api(commonDependencies.exposed.core()) // TODO: use `implementation` when possible - // TODO: remove the Exposed JDBC dependency and the PostgresSQL dependency when there is no need to to generate SQLs with an Exposed transaction - runtimeOnly(commonDependencies.exposed.module("jdbc")) api(commonDependencies.kotlinCommon.exposed()) with(commonDependencies.vertx) { diff --git a/postgresql/build.gradle.kts b/postgresql/build.gradle.kts index 0321367..ad2eebd 100644 --- a/postgresql/build.gradle.kts +++ b/postgresql/build.gradle.kts @@ -8,6 +8,8 @@ dependencies { with(commonDependencies.vertx) { implementation(platformStackDepchain()) } // needed implementation(cpnProject(project, ":core")) + // TODO remove the Exposed JDBC dependency and the PostgresSQL dependency when there is no need to to generate SQLs with an Exposed transaction + runtimeOnly(commonDependencies.exposed.module("jdbc")) runtimeOnly(commonDependencies.postgreSql()) implementation(commonDependencies.vertx.moduleWithoutVersion("pg-client")) implementation(commonDependencies.kotlinCommon.core()) // for `Untested`