Skip to content

Commit

Permalink
[ML4SE-666] Initialized new module
Browse files Browse the repository at this point in the history
  • Loading branch information
mikrise2 committed May 14, 2024
1 parent 73ae87c commit c934468
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 5 deletions.
7 changes: 5 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }
Expand All @@ -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" }
Expand All @@ -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" }
ktor = { id = "io.ktor.plugin", version.ref = "ktor" }
dataframe = {id = "org.jetbrains.kotlinx.dataframe", version.ref = "dataframe"}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
30 changes: 30 additions & 0 deletions processing/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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<JavaCompile> {
sourceCompatibility = jdkVersion
targetCompatibility = JavaVersion.VERSION_17.toString()
}
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
}

withType<Detekt>().configureEach {
jvmTarget = jdkVersion
}
}
3 changes: 2 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ pluginManagement {

rootProject.name = "tasktracker-3"
include("ij-plugin")
include("ij-server")
include("ij-server")
include("processing")

0 comments on commit c934468

Please sign in to comment.