Skip to content

Commit 3a2d3b2

Browse files
authored
Merge pull request #879 from NativeScript/pete/fix-appgradle-apply
apply user configuration before plugins' configuration to provide external properties
2 parents 065a37a + 48d059d commit 3a2d3b2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build-artifacts/project-template-gradle/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ def applyAppGradleConfiguration = { ->
145145
if (appGradle.exists()) {
146146
println "\t + applying user-defined configuration from ${appGradle}"
147147
apply from: pathToAppGradle
148+
} else {
149+
println "\t + couldn't load user-defined configuration from ${appGradle}. File doesn't exist."
148150
}
149151
}
150152

@@ -225,6 +227,8 @@ android {
225227
}
226228
}
227229

230+
applyAppGradleConfiguration()
231+
228232
def dimensions = applyPluginsIncludeGradleConfigurations()
229233

230234
flavorDimensions(*dimensions)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tns-android",
33
"description": "NativeScript Runtime for Android",
4-
"version": "3.3.0",
4+
"version": "3.3.1",
55
"files": [
66
"**/*"
77
]

0 commit comments

Comments
 (0)