diff --git a/lib/services/android-project-service.ts b/lib/services/android-project-service.ts index 21aa7de351..5c1d7eab9a 100644 --- a/lib/services/android-project-service.ts +++ b/lib/services/android-project-service.ts @@ -248,6 +248,7 @@ class AndroidProjectService extends projectServiceBaseLib.PlatformProjectService let libProjProp = path.join(libraryPath, "project.properties"); if (this.$fs.exists(libProjProp).wait()) { this.updateProjectReferences(this.platformData.projectRoot, targetLibPath).wait(); + this.runAndroidUpdate(targetLibPath, this.getTarget(this.platformData.projectRoot).wait()).wait(); } }).future()(); } diff --git a/lib/services/plugins-service.ts b/lib/services/plugins-service.ts index c87af0d611..f51af50f5a 100644 --- a/lib/services/plugins-service.ts +++ b/lib/services/plugins-service.ts @@ -184,7 +184,7 @@ export class PluginsService implements IPluginsService { let pluginData: any = {}; pluginData.name = cacheData.name; pluginData.version = cacheData.version; - pluginData.fullPath = path.dirname(this.getPackageJsonFilePathForModule(cacheData.name)); + pluginData.fullPath = cacheData.directory || path.dirname(this.getPackageJsonFilePathForModule(cacheData.name)); pluginData.isPlugin = !!cacheData.nativescript; pluginData.pluginPlatformsFolderPath = (platform: string) => path.join(pluginData.fullPath, "platforms", platform); diff --git a/package.json b/package.json index 7272861d27..886abf1ad7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nativescript", "preferGlobal": true, - "version": "1.2.3", + "version": "1.2.4", "author": "Telerik ", "description": "Command-line interface for building NativeScript projects", "bin": {