Slackbot
01/18/2024, 1:12 PMAdam
01/18/2024, 1:15 PMBernhard Posselt
01/18/2024, 1:16 PMBernhard Posselt
01/18/2024, 1:16 PMAdam
01/18/2024, 1:16 PMBernhard Posselt
01/18/2024, 1:17 PMAdam
01/18/2024, 1:17 PMsettings.gradle.kts in the root of your projectAdam
01/18/2024, 1:18 PMinclude(":domain")
include(":restapis1")
include(":restapis2")
include(":web1")
include(":web2")Bernhard Posselt
01/18/2024, 1:18 PMAdam
01/18/2024, 1:18 PMVampire
01/18/2024, 1:19 PMBernhard Posselt
01/18/2024, 1:19 PMVampire
01/18/2024, 1:19 PMweb1 and web2 standalone projects with own settings.gradle(.kts)?Bernhard Posselt
01/18/2024, 1:19 PMVampire
01/18/2024, 1:19 PMVampire
01/18/2024, 1:19 PMVampire
01/18/2024, 1:20 PMVampire
01/18/2024, 1:20 PMVampire
01/18/2024, 1:21 PMVampire
01/18/2024, 1:21 PMincludeBuild) within pluginManagement { ... } of the settings scripts of web1 and web2Vampire
01/18/2024, 1:22 PMBernhard Posselt
01/18/2024, 1:22 PMVampire
01/18/2024, 1:22 PMVampire
01/18/2024, 1:23 PMBernhard Posselt
01/18/2024, 1:23 PMpluginManagement {
val kotlinVersion = "1.9.0"
plugins {
kotlin("kapt") version kotlinVersion
kotlin("jvm") version kotlinVersion
kotlin("plugin.spring") version kotlinVersion
}
}
and
plugins {
kotlin("kapt")
kotlin("jvm")
kotlin("plugin.spring")
}
java {
sourceCompatibility = JavaVersion.VERSION_17
}
in the previous projectBernhard Posselt
01/18/2024, 1:24 PMVampire
01/18/2024, 1:24 PMVampire
01/18/2024, 1:25 PMBernhard Posselt
01/18/2024, 1:25 PMBernhard Posselt
01/18/2024, 1:25 PMVampire
01/18/2024, 1:28 PMlibs.versions.toml and then in the settings scripts of `web1`and web2 do
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("../libs.versions.toml"))
}
}
}
to use the same version catalog in both projectsBernhard Posselt
01/18/2024, 1:28 PMBernhard Posselt
01/18/2024, 1:29 PMBernhard Posselt
01/18/2024, 1:30 PMBernhard Posselt
01/18/2024, 1:31 PMVampire
01/18/2024, 1:36 PMBernhard Posselt
01/18/2024, 1:42 PM