getGradleSources static method
Get source paths for all gradle dependencies.
This function temporarily overwrites the build.gradle file by a stub with function to list all dependency paths for release variant. This function fails if no gradle build is attempted before.
Implementation
static List<String> getGradleSources(
{Uri? configRoot, String androidProject = '.'}) {
return _runGradleStub(
stubName: _gradleGetSourcesTaskName,
stubCode: _gradleGetSourcesStub,
androidProject: androidProject,
configRoot: configRoot,
);
}