import org.gradle.kotlin.dsl.withType import org.jetbrains.kotlin.gradle.dsl.JvmTarget import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") alias(libs.plugins.serialization) alias(libs.plugins.dokka) } repositories { mavenCentral() } kotlin { jvmToolchain(17) } dependencies { api(project(":exposed-migration-core")) api(project(":exposed-jdbc")) testImplementation(project(":exposed-tests")) testImplementation(project(":exposed-json")) testImplementation(project(":exposed-kotlin-datetime")) testImplementation(project(":exposed-java-time")) testImplementation(project(":exposed-money")) testCompileOnly(libs.postgre) testImplementation(libs.logcaptor) testImplementation(libs.junit5) testRuntimeOnly(libs.junit.platform.launcher) testImplementation(kotlin("test-junit5")) } tasks.withType().configureEach { compilerOptions { jvmTarget.set(JvmTarget.JVM_1_8) } } tasks.withType().configureEach { targetCompatibility = "8" } tasks.withType().configureEach { useJUnitPlatform() }