darkmoon_uk
11/27/2023, 1:19 PMdarkmoon_uk
11/27/2023, 1:38 PM/include/libraryProject
/appProject
/appProject-composite
Where:
/include/libraryProject
is a Git submodule that brings in an otherwise standalone library repo project at this location.
/appProject
is an App project that refers to library only by its regular maven coordinate (e.g. my.group:mylib:0.34
/appProject-composite
is a very tiny Gradle project that just has in its settings KTS:
includeBuild("../include/libraryProject")
includeBuild("../appProject")
This setup affords the flexibility to develop the library and app in the same workspace or each one independently with no configuration changes. It's a great productivity boost to be able to perform refactorings across App and Library simultaneously.andrey.dernov
11/28/2023, 7:02 PM