diff --git a/build.gradle.kts b/build.gradle.kts index 81788375..1546c47e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,8 +8,6 @@ import org.flywaydb.gradle.task.FlywayMigrateTask buildscript { dependencies { classpath("io.github.cdimascio:dotenv-kotlin:6.4.1") - classpath("mysql:mysql-connector-java:8.0.33") - classpath("org.flywaydb:flyway-mysql:9.22.3") } } @@ -90,6 +88,7 @@ dependencies { implementation("org.jetbrains.exposed:exposed-java-time:$exposedVersion") implementation("mysql:mysql-connector-java:8.0.33") implementation("org.postgresql:postgresql:42.6.0") + implementation("p6spy:p6spy:3.7.0") implementation("com.zaxxer:HikariCP:5.0.1") implementation("io.insert-koin:koin-core:$koinVersion") implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.1") diff --git a/src/main/resources/spy.properties b/src/main/resources/spy.properties index c36738e8..289c8120 100644 --- a/src/main/resources/spy.properties +++ b/src/main/resources/spy.properties @@ -1 +1,2 @@ modulelist=com.p6spy.engine.spy.P6SpyFactory +driverlist=org.postgresql.Driver