init research
This commit is contained in:
+60
@@ -0,0 +1,60 @@
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
with(convention.plugins) {
|
||||
alias(kotlinJvm8)
|
||||
}
|
||||
with(libs.plugins) {
|
||||
alias(publisher)
|
||||
alias(serialization)
|
||||
alias(binary.compatibility.validator)
|
||||
}
|
||||
}
|
||||
|
||||
group = "org.jetbrains.kotlinx"
|
||||
|
||||
dependencies {
|
||||
api(projects.core)
|
||||
|
||||
implementation(libs.kotlin.stdlib)
|
||||
implementation(libs.serialization.core)
|
||||
implementation(libs.serialization.json)
|
||||
implementation(libs.sl4j)
|
||||
|
||||
// Use Kotlin test integration for JUnit 5 to satisfy variant 'kotlin-test-framework-junit5'
|
||||
testImplementation(libs.kotlin.test.junit5)
|
||||
testImplementation(libs.junit.jupiter)
|
||||
testImplementation(libs.junit.jupiter.engine)
|
||||
testImplementation(libs.junit.jupiter.params)
|
||||
testImplementation(libs.kotestAssertions) {
|
||||
exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk8")
|
||||
}
|
||||
testImplementation(libs.sl4jsimple)
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile> {
|
||||
friendPaths.from(project(projects.core.path).projectDir)
|
||||
}
|
||||
|
||||
tasks.withType<Javadoc> {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java.srcDirs("src/main/kotlin")
|
||||
}
|
||||
}
|
||||
|
||||
kotlinPublications {
|
||||
publication {
|
||||
publicationName = "dataframeJson"
|
||||
artifactId = project.name
|
||||
description = "Kotlin DataFrame JSON integration"
|
||||
packageName = artifactId
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user