Offz
07/09/2020, 1:49 AMB
from A
.
B
includes several subprojects and I'd like to include one, say subproject
, as a dependency in A
Is there any way to do this nicely with composite builds, what would my alternatives be if there isn't?octylFractal
07/09/2020, 1:50 AMOffz
07/09/2020, 2:03 AMsubstitute(module("<http://my.org:subproject|my.org:subproject>")).with(project(":subproject"))
doesn't get resolved when doing
implementation("<http://my.org:subproject|my.org:subproject>")
Though apart from that, it builds fine.
The following works totally fine however:
substitute(module("<http://my.org:somerandomname|my.org:somerandomname>")).with(project(":"))
//in build.gradle
implementation("<http://my.org:somerandomname|my.org:somerandomname>")
octylFractal
07/09/2020, 2:04 AMOffz
07/09/2020, 2:07 AMoctylFractal
07/09/2020, 2:13 AMoctylFractal
07/09/2020, 2:13 AMOffz
07/09/2020, 2:17 AMOffz
07/09/2020, 2:44 AMoctylFractal
07/09/2020, 2:46 AMIdofront
or idofront
?octylFractal
07/09/2020, 2:47 AMincludeBuild
call is lowercase-iOffz
07/09/2020, 2:47 AMOffz
07/09/2020, 2:48 AMOffz
07/09/2020, 2:50 AMoctylFractal
07/09/2020, 2:53 AMoctylFractal
07/09/2020, 2:53 AMgithubPackages
otherwise it crashed thoughoctylFractal
07/09/2020, 2:53 AM+--- com.mineinabyss:idofront -> project :Idofront
\--- com.mineinabyss:idofront-annotation -> project :Idofront:annotation
Offz
07/09/2020, 2:54 AMOffz
07/09/2020, 3:03 AMoctylFractal
07/09/2020, 3:05 AM--scan
Offz
07/09/2020, 3:17 AM~/.gradle/caches
, forget what else there isoctylFractal
07/09/2020, 3:18 AM./gradlew clean
to clean up your local build dirsoctylFractal
07/09/2020, 3:18 AMOffz
07/09/2020, 4:13 AM