-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e6c390
commit 3706fb7
Showing
7 changed files
with
90 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
rootProject.name = "buildSrc" | ||
|
||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
create("libs") { | ||
from(files("../gradle/libs.versions.toml")) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,2 @@ | ||
# Gradle configuration | ||
org.gradle.parallel=true | ||
org.gradle.caching=true | ||
# Dependencies | ||
coroutine_version=1.9.0 | ||
jackson_version=2.18.0 | ||
caffeine_version=3.1.8 | ||
serialization_version=1.7.3 | ||
kDataLoader_version=0.5.1 | ||
deferredJsonBuilder_version=1.0.0 | ||
ktor_version=2.3.12 | ||
# Test-Dependencies | ||
kotlin_html_version=0.7.5 | ||
netty_version=4.1.114.Final | ||
junit_version=5.11.2 | ||
kluent_version=1.73 | ||
hamcrest_version=3.0 | ||
# Gradle Plugin, ... versions | ||
jmhGradlePlugin_version=0.7.2 | ||
jmh_version=1.37 | ||
coverallsGradlePlugin_version=2.12.2 | ||
jacoco_version=0.8.12 | ||
# Example Dependencies | ||
exposed_version=0.32.1 | ||
logback_version=1.5.8 | ||
h2_version=1.4.200 | ||
hikari_version=6.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[versions] | ||
kotlin = "2.0.21" | ||
kotlinx-coroutines = "1.9.0" | ||
kotlinx-serialization = "1.7.3" | ||
jackson = "2.18.0" | ||
ktor = "2.3.12" | ||
junit-jupiter = "5.11.2" | ||
exposed = "0.32.1" | ||
|
||
[plugins] | ||
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } | ||
|
||
[libraries] | ||
kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } | ||
dokkatoo-gradle = { module = "dev.adamko.dokkatoo:dokkatoo-plugin", version = "2.4.0" } | ||
mavenPublish-gradle = { module = "com.vanniktech.maven.publish:com.vanniktech.maven.publish.gradle.plugin", version = "0.30.0" } | ||
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" } | ||
kotlinx-coroutines-jdk8 = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8", version.ref = "kotlinx-coroutines" } | ||
kotlinx-coroutines-debug = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-debug", version.ref = "kotlinx-coroutines" } | ||
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" } | ||
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" } | ||
jackson-core-databind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson" } | ||
jackson-module-kotlin = { module = "com.fasterxml.jackson.module:jackson-module-kotlin", version.ref = "jackson" } | ||
caffeine = { module = "com.github.ben-manes.caffeine:caffeine", version = "3.1.8" } | ||
deferredJsonBuilder = { module = "com.apurebase:DeferredJsonBuilder", version = "1.0.0" } | ||
ktor-server-core = { module = "io.ktor:ktor-server-core", version.ref = "ktor" } | ||
ktor-server-auth = { module = "io.ktor:ktor-server-auth", version.ref = "ktor" } | ||
ktor-server-test-host = { module = "io.ktor:ktor-server-test-host", version.ref = "ktor" } | ||
hamcrest = { module = "org.hamcrest:hamcrest", version = "3.0" } | ||
kluent = { module = "org.amshove.kluent:kluent", version = "1.73" } | ||
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit-jupiter" } | ||
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit-jupiter" } | ||
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit-jupiter" } | ||
|
||
#region kgraphql-example | ||
ktor-server-netty = { module = "io.ktor:ktor-server-netty", version.ref = "ktor" } | ||
logback-classic = { module = "ch.qos.logback:logback-classic", version = "1.5.8" } | ||
exposed-core = { module = "org.jetbrains.exposed:exposed-core", version.ref = "exposed" } | ||
exposed-jdbc = { module = "org.jetbrains.exposed:exposed-jdbc", version.ref = "exposed" } | ||
exposed-javaTime = { module = "org.jetbrains.exposed:exposed-java-time", version.ref = "exposed" } | ||
h2 = { module = "com.h2database:h2", version = "1.4.200" } | ||
hikari = { module = "com.zaxxer:HikariCP", version = "6.0.0" } | ||
#endregion | ||
|
||
#region test-source-examples | ||
netty = { module = "io.netty:netty-all", version = "4.1.114.Final" } | ||
#endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,19 @@ | ||
plugins { | ||
id("library-conventions") | ||
kotlin("plugin.serialization") version "2.0.21" | ||
alias(libs.plugins.serialization) | ||
} | ||
|
||
val caffeine_version: String by project | ||
val kDataLoader_version: String by project | ||
val kotlin_version: String by project | ||
val serialization_version: String by project | ||
val coroutine_version: String by project | ||
val jackson_version: String by project | ||
val ktor_version: String by project | ||
|
||
val netty_version: String by project | ||
val hamcrest_version: String by project | ||
val kluent_version: String by project | ||
val junit_version: String by project | ||
|
||
val isReleaseVersion = !version.toString().endsWith("SNAPSHOT") | ||
|
||
dependencies { | ||
implementation(kotlin("stdlib-jdk8")) | ||
api(project(":kgraphql")) | ||
implementation("io.ktor:ktor-server-core:$ktor_version") | ||
implementation("io.ktor:ktor-serialization:$ktor_version") | ||
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor_version") | ||
implementation("com.github.salomonbrys.kotson:kotson:2.5.0") | ||
implementation(kotlin("stdlib-jdk8")) | ||
implementation(libs.kotlinx.serialization.json) | ||
implementation(libs.ktor.server.core) | ||
|
||
testImplementation("org.junit.jupiter:junit-jupiter-api:$junit_version") | ||
testImplementation("org.amshove.kluent:kluent:$kluent_version") | ||
testImplementation("io.ktor:ktor-server-test-host:$ktor_version") | ||
testImplementation("io.ktor:ktor-server-auth:$ktor_version") | ||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junit_version") | ||
testImplementation(libs.junit.jupiter.api) | ||
testImplementation(libs.kluent) | ||
testImplementation(libs.ktor.server.test.host) | ||
testImplementation(libs.ktor.server.auth) | ||
testRuntimeOnly(libs.junit.jupiter.engine) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters