File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ def computeBuildToolsVersion = { ->
67
67
}
68
68
69
69
project. ext. selectedBuildType = project. hasProperty(" release" ) ? " release" : " debug"
70
+ project. ext. appPath = " "
71
+ project. ext. appResourcesPath = " "
70
72
71
73
// //////////////////////////////////////////////////////////////////////////////////
72
74
// /////////////////////////// CONFIGURATIONS ///////////////////////////////////////
@@ -83,11 +85,14 @@ def getAppResourcesDirectory = { ->
83
85
if (nsConfigJsonContent. appResourcesPath != null ) {
84
86
pathToAppResources = java.nio.file.Paths . get(USER_PROJECT_ROOT ). resolve(nsConfigJsonContent. appResourcesPath). toAbsolutePath()
85
87
} else if (nsConfigJsonContent. appPath != null ) {
88
+ project. ext. appPath = nsConfigJsonContent. appPath
86
89
pathToAppResources = java.nio.file.Paths . get(USER_PROJECT_ROOT ). resolve(nsConfigJsonContent. appPath). toAbsolutePath()
87
90
}
88
91
}
89
92
90
- return pathToAppResources != null ? pathToAppResources : defaultPathToAppResources
93
+ def result = pathToAppResources != null ? pathToAppResources : defaultPathToAppResources
94
+ project. ext. appResourcesPath = result
95
+ return result
91
96
}
92
97
93
98
def applyAppGradleConfiguration = { ->
You can’t perform that action at this time.
0 commit comments