mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-02 21:20:55 +00:00
Reform dependencies.
This commit is contained in:
parent
d335a0b63f
commit
8ee6447c9b
@ -23,35 +23,8 @@ allprojects {
|
||||
version = "0.2"
|
||||
|
||||
subprojects {
|
||||
plugins.apply("org.jetbrains.kotlin.jvm")
|
||||
plugins.apply("org.jetbrains.kotlin.plugin.serialization")
|
||||
|
||||
group = "gay.pizza.foundation"
|
||||
|
||||
dependencies {
|
||||
// Kotlin dependencies
|
||||
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||
|
||||
// Core libraries.
|
||||
implementation("io.insert-koin:koin-core:3.3.2")
|
||||
testImplementation("io.insert-koin:koin-test:3.3.2")
|
||||
|
||||
// Serialization
|
||||
implementation("com.charleskorn.kaml:kaml:0.51.0")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1")
|
||||
|
||||
// Persistence
|
||||
implementation("org.jetbrains.xodus:xodus-openAPI:2.0.1")
|
||||
implementation("org.jetbrains.xodus:xodus-entity-store:2.0.1")
|
||||
}
|
||||
|
||||
java {
|
||||
val javaVersion = JavaVersion.toVersion(17)
|
||||
sourceCompatibility = javaVersion
|
||||
targetCompatibility = javaVersion
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile> {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
||||
|
9
common-all/build.gradle.kts
Normal file
9
common-all/build.gradle.kts
Normal file
@ -0,0 +1,9 @@
|
||||
plugins {
|
||||
id("gay.pizza.foundation.concrete-base")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Serialization
|
||||
api("com.charleskorn.kaml:kaml:0.51.0")
|
||||
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1")
|
||||
}
|
@ -1,8 +1,9 @@
|
||||
plugins {
|
||||
id("gay.pizza.foundation.concrete-library")
|
||||
id("gay.pizza.foundation.concrete-base")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":common-all"))
|
||||
api("org.postgresql:postgresql:42.5.3")
|
||||
api("org.jetbrains.exposed:exposed-jdbc:0.41.1")
|
||||
api("org.jetbrains.exposed:exposed-java-time:0.41.1")
|
||||
|
@ -3,5 +3,6 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":common-all"))
|
||||
compileOnly(project(":foundation-shared"))
|
||||
}
|
||||
|
@ -3,9 +3,16 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":common-all"))
|
||||
implementation(project(":foundation-shared"))
|
||||
|
||||
implementation("software.amazon.awssdk:s3:2.19.31")
|
||||
implementation("org.quartz-scheduler:quartz:2.3.2")
|
||||
implementation("com.google.guava:guava:31.1-jre")
|
||||
|
||||
implementation("io.insert-koin:koin-core:3.3.2")
|
||||
testImplementation("io.insert-koin:koin-test:3.3.2")
|
||||
|
||||
implementation("org.jetbrains.xodus:xodus-openAPI:2.0.1")
|
||||
implementation("org.jetbrains.xodus:xodus-entity-store:2.0.1")
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
plugins {
|
||||
id("gay.pizza.foundation.concrete-library")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":common-all"))
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
include(
|
||||
":common-all",
|
||||
":common-plugin",
|
||||
":common-heimdall",
|
||||
":foundation-core",
|
||||
|
Loading…
Reference in New Issue
Block a user