Lilly
07/23/2021, 12:21 PMJavier
07/23/2021, 12:23 PMLilly
07/23/2021, 12:28 PMLuis
07/23/2021, 12:48 PMLuis
07/23/2021, 12:48 PMLuis
07/23/2021, 12:49 PMLilly
07/23/2021, 7:33 PMincludeBuid("../mylib")
I get an error:
Plugin [id: 'com.android.library'] was not found in any of the following sourcesCan I even include a module which doesn't have a settings and a project level build.gradle file with
includeBuild
?Lilly
07/23/2021, 7:49 PMEach included build is configured and executed in isolation.So you can't include a module that has no project level files. I'm looking for this, just simpler: https://stackoverflow.com/questions/67452263/how-do-you-extract-gradle-subprojects-into-standalone-libraries
Luis
07/23/2021, 11:15 PMLuis
07/23/2021, 11:16 PMLuis
07/23/2021, 11:17 PMLuis
07/23/2021, 11:17 PMpublishToMavenLocal
after adding maven-publish
has a pluginLuis
07/23/2021, 11:18 PMLuis
07/23/2021, 11:19 PMLilly
07/23/2021, 11:39 PMThen you add the library has a regular dependency in your main project, and setup includebuild to replace it with a path to the repoThen I have it included 2 times. Also I dont have a github repo, thats what I'm trying to do
Lilly
07/23/2021, 11:41 PMinclude ':dccore'
project(":dccore").projectDir = file("../dccore")
Lilly
07/24/2021, 1:10 AMKedar
07/25/2021, 3:46 AMLilly
07/25/2021, 5:55 PM