setup module build
parent
03f09d4a54
commit
2923c73b53
|
|
@ -1,7 +1,6 @@
|
||||||
@file:Suppress("UnstableApiUsage")
|
@file:Suppress("UnstableApiUsage")
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.jvm)
|
|
||||||
application
|
application
|
||||||
kotlin("plugin.serialization") version embeddedKotlinVersion
|
kotlin("plugin.serialization") version embeddedKotlinVersion
|
||||||
id("com.bmuschko.docker-java-application") version "9.4.0"
|
id("com.bmuschko.docker-java-application") version "9.4.0"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
plugins {
|
||||||
|
alias(libs.plugins.kotlinx.serialization) version embeddedKotlinVersion
|
||||||
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
plugins {
|
||||||
|
`kotlin-dsl`
|
||||||
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
gradlePluginPortal()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation(libs.gradle.kotlin.jvm)
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
dependencyResolutionManagement {
|
||||||
|
versionCatalogs {
|
||||||
|
create("libs") {
|
||||||
|
from(files("../gradle/libs.versions.toml"))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
plugins {
|
||||||
|
`java-library`
|
||||||
|
kotlin("jvm")
|
||||||
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
# This file was generated by the Gradle 'init' task.
|
|
||||||
# https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
|
|
||||||
|
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
org.gradle.caching=true
|
org.gradle.caching=true
|
||||||
|
group=de.itkl
|
||||||
|
version=1.0-PRE
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ logback-classic = "1.5.4"
|
||||||
slf4j = "2.0.12"
|
slf4j = "2.0.12"
|
||||||
kotlin-logging = "6.0.4"
|
kotlin-logging = "6.0.4"
|
||||||
kotlinx = "1.7.3"
|
kotlinx = "1.7.3"
|
||||||
|
kotlin = "1.9.22"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
koin-core = {module = "io.insert-koin:koin-core", version.ref = "koin" }
|
koin-core = {module = "io.insert-koin:koin-core", version.ref = "koin" }
|
||||||
|
|
@ -23,9 +24,12 @@ kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-c
|
||||||
ktor-server-content-negotation = { module = "io.ktor:ktor-server-content-negotiation", version.ref = "ktor" }
|
ktor-server-content-negotation = { module = "io.ktor:ktor-server-content-negotiation", version.ref = "ktor" }
|
||||||
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor"}
|
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor"}
|
||||||
|
|
||||||
|
#plugin-kotlinx-serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin"}
|
||||||
|
gradle-kotlin-jvm = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin"}
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
jvm = { id = "org.jetbrains.kotlin.jvm", version = "1.9.22" }
|
jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
||||||
|
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin"}
|
||||||
|
|
||||||
[bundles]
|
[bundles]
|
||||||
koin = [
|
koin = [
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
subprojects { }
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
dependencies {
|
||||||
|
implementation(project(":modules:ModuleCore"))
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
dependencies {
|
||||||
|
api(libs.bundles.koin)
|
||||||
|
api(libs.bundles.kotlinx)
|
||||||
|
api(libs.bundles.logging)
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
plugins {
|
||||||
|
`java-library`
|
||||||
|
}
|
||||||
|
|
||||||
|
subprojects {
|
||||||
|
apply(plugin = "module-convention")
|
||||||
|
}
|
||||||
|
|
@ -15,4 +15,4 @@ fun includeDir(dir: String) {
|
||||||
|
|
||||||
rootProject.name = "xssak"
|
rootProject.name = "xssak"
|
||||||
include("app")
|
include("app")
|
||||||
includeDir("libraries")
|
includeDir("modules")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue