File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -539,7 +539,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
539
539
shell . sed (
540
540
"-i" ,
541
541
/ p r o j e c t .e x t .U S E R _ P R O J E C T _ R O O T = \" \$ r o o t D i r \/ ..\/ ..\" / ,
542
- 'project.ext.USER_PROJECT_ROOT = System.getProperties().projectRoot != null ? System.getProperties().projectRoot : "$rootDir/../../../ "' ,
542
+ 'project.ext.USER_PROJECT_ROOT = System.getProperties().projectRoot != null ? System.getProperties().projectRoot : "$rootDir/../../"' ,
543
543
buildGradlePath
544
544
) ;
545
545
}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ version of the {N} CLI install a previous version of the runtime package - 'tns
45
45
46
46
project. ext. nativescriptDependencies = new JsonSlurper (). parseText(dependenciesJson. text)
47
47
project. ext. PLATFORMS_ANDROID = " platforms/android"
48
- project. ext. USER_PROJECT_ROOT = System . getProperties(). projectRoot != null ? System . getProperties(). projectRoot : " $rootDir /../../../ "
48
+ project. ext. USER_PROJECT_ROOT = System . getProperties(). projectRoot != null ? System . getProperties(). projectRoot : " $rootDir /../../"
49
49
50
50
project. ext. getAppPath = { ->
51
51
def relativePathToApp = " app"
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ buildscript {
155
155
outLogger. withStyle(Style.SuccessHeader ). println " \t ~initialize"
156
156
157
157
158
- project. ext. USER_PROJECT_ROOT = " $rootDir /../../.. "
158
+ project. ext. USER_PROJECT_ROOT = " $rootDir /../.."
159
159
if (project. hasProperty(' projectRoot' )) {
160
160
project. ext. USER_PROJECT_ROOT = projectRoot
161
161
}
You can’t perform that action at this time.
0 commit comments