From c93446889f03907bcf62309e769fcd467fa54f92 Mon Sep 17 00:00:00 2001 From: mikrise2 Date: Tue, 14 May 2024 02:50:29 +0200 Subject: [PATCH] [ML4SE-666] Initialized new module --- gradle/libs.versions.toml | 7 ++++-- gradle/wrapper/gradle-wrapper.properties | 4 ++-- processing/build.gradle.kts | 30 ++++++++++++++++++++++++ settings.gradle.kts | 3 ++- 4 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 processing/build.gradle.kts diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 752139b0..7328c54f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlin = "1.8.10" +kotlin = "1.9.22" intellij = "1.16.1" detekt = "1.22.0" buildconfig = "3.1.0" @@ -20,6 +20,7 @@ postgres = "42.3.1" logback = "1.4.11" exposed = "0.44.0" h2 = "2.2.224" +dataframe = "0.13.1" [libraries] detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" } @@ -39,6 +40,7 @@ ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx ktor-server-core = { module = "io.ktor:ktor-server-core-jvm", version.ref = "ktor" } ktor-server-netty = { module = "io.ktor:ktor-server-netty-jvm", version.ref = "ktor" } ktor-server-tests = { module = "io.ktor:ktor-server-tests-jvm", version.ref = "ktor" } +dataframe = {module = "org.jetbrains.kotlinx:dataframe", version.ref = "dataframe"} slf4j = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" } postgres = { module = "org.postgresql:postgresql", version.ref = "postgres" } @@ -57,4 +59,5 @@ kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } buildconfig = { id = "com.github.gmazzo.buildconfig", version.ref = "buildconfig" } serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "serialization" } changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } -ktor = { id = "io.ktor.plugin", version.ref = "ktor" } \ No newline at end of file +ktor = { id = "io.ktor.plugin", version.ref = "ktor" } +dataframe = {id = "org.jetbrains.kotlinx.dataframe", version.ref = "dataframe"} \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index bdc9a83b..068c0193 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ +#Tue May 14 02:37:11 CEST 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip -networkTimeout=10000 +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/processing/build.gradle.kts b/processing/build.gradle.kts new file mode 100644 index 00000000..d2d6c31f --- /dev/null +++ b/processing/build.gradle.kts @@ -0,0 +1,30 @@ +import io.gitlab.arturbosch.detekt.Detekt + +group = rootProject.group +version = rootProject.version + +@Suppress("DSL_SCOPE_VIOLATION") +plugins { + id(libs.plugins.dataframe.get().pluginId) version libs.versions.dataframe.get() +} + + +val jdkVersion = libs.versions.jdk17.get() + +dependencies { + implementation(rootProject.libs.dataframe) +} + +tasks{ + withType { + sourceCompatibility = jdkVersion + targetCompatibility = JavaVersion.VERSION_17.toString() + } + withType { + kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString() + } + + withType().configureEach { + jvmTarget = jdkVersion + } +} diff --git a/settings.gradle.kts b/settings.gradle.kts index 5c9be412..e48435e9 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -7,4 +7,5 @@ pluginManagement { rootProject.name = "tasktracker-3" include("ij-plugin") -include("ij-server") \ No newline at end of file +include("ij-server") +include("processing")