Mgkaki
06/02/2020, 6:03 AMdependencies {
val swaggerVersion = "2.9.2"
val hikaricpVersion = "3.3.1"
val typesafeVersion = "1.4.0"
val kotlinloggingVersion = "1.7.9"
val modelMapperVersion = "2.3.7"
subprojects.forEach {
if( it.name != "common" ) {
implementation(project(it.path)) {
dependencies {
implementation(project(":common"))
}
}
} else {
implementation(project(":common"))
}
}
implementation("com.zaxxer:HikariCP:${hikaricpVersion}")
implementation("org.springframework.boot:spring-boot-starter-web")
::::
}
I trid this but it(internal) don't import common modules as a dependency.
settings.gradle.kts
rootProject.name = "gia"
include("common", "internal")