From 899daa9ea77405d833dff967304b1a5d40a25f13 Mon Sep 17 00:00:00 2001 From: Tony Homer Date: Wed, 10 Jun 2015 00:57:01 -0400 Subject: [PATCH] CB-9149 Make gradle alias subprojects in order to handle libs that depend on libs. This closes #182 --- bin/templates/cordova/lib/build.js | 34 +++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/bin/templates/cordova/lib/build.js b/bin/templates/cordova/lib/build.js index 1794f93e..98351721 100644 --- a/bin/templates/cordova/lib/build.js +++ b/bin/templates/cordova/lib/build.js @@ -102,6 +102,19 @@ function hasCustomRules() { return fs.existsSync(path.join(ROOT, 'custom_rules.xml')); } +function extractRealProjectNameFromManifest(projectPath) { + var manifestPath = path.join(projectPath, 'AndroidManifest.xml'); + var manifestData = fs.readFileSync(manifestPath, 'utf8'); + var m = /