Skip to content

Commit c668437

Browse files
committed
apply user configuration before plugins' configuration to provide external properties
1 parent 065a37a commit c668437

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
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)

0 commit comments

Comments
 (0)