File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,17 @@ def getAppResourcesPath = { ->
111
111
project. ext. appResourcesPath = absolutePathToAppResources
112
112
113
113
return absolutePathToAppResources
114
- };
114
+ }
115
+
116
+ def applyBeforePluginGradleConfiguration = { ->
117
+ def appResourcesPath = getAppResourcesPath()
118
+ def pathToBeforePluginGradle = " $appResourcesPath /Android/before-plugins.gradle"
119
+ def beforePluginGradle = file(pathToBeforePluginGradle)
120
+ if (beforePluginGradle. exists()) {
121
+ println " \t + applying user-defined configuration from ${ beforePluginGradle} "
122
+ apply from : pathToBeforePluginGradle
123
+ }
124
+ }
115
125
116
126
def applyAppGradleConfiguration = { ->
117
127
def appResourcesPath = getAppResourcesPath()
@@ -212,6 +222,7 @@ android {
212
222
}
213
223
214
224
setAppIdentifier()
225
+ applyBeforePluginGradleConfiguration()
215
226
applyPluginGradleConfigurations()
216
227
applyAppGradleConfiguration()
217
228
}
@@ -251,7 +262,7 @@ dependencies {
251
262
supportVer = supportVersion
252
263
}
253
264
254
- println " Using support version $supportVer "
265
+ println " Using support library version $supportVer "
255
266
256
267
implementation " com.android.support:multidex:1.0.2"
257
268
implementation " com.android.support:support-v4:$supportVer "
You can’t perform that action at this time.
0 commit comments