When mutil-module project set up, some issues comes up like this. Let's show example.
We have three module like Entity, Cloud Server and Wep API. Cloud Server imports Entity module and also Web API module import that.
MonaEvCloudServer
group = 'kr.ksmartech.ev'
version = '1.0-SNAPSHOT'
dependencies {
...
implementation project(":MonaEvEntity")
...
}
MonaEvEntity - it was only imported role.
group = 'kr.ksmartech.ev.entity'
version = 'unspecified'
MonaEvApi - Non-Fixed version
group = 'kr.ksmartech.ev.web.api'
version = "1.0-API-SNAPSHOT"
dependencies {
...
implementation project(":MonaEvEntity")
...
}
EvCloudServer and EvEntity would not be a collision issue. but API will have a trouble when group would set "kr.ksmartech.ev.web.api". Let's see below e.g
We want to implement like below, but group is different structure, so that make a collision.