Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions test-app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,17 @@ def getAppResourcesPath = { ->
project.ext.appResourcesPath = absolutePathToAppResources

return absolutePathToAppResources
};
}

def applyBeforePluginGradleConfiguration = { ->
def appResourcesPath = getAppResourcesPath()
def pathToBeforePluginGradle = "$appResourcesPath/Android/before-plugins.gradle"
def beforePluginGradle = file(pathToBeforePluginGradle)
if (beforePluginGradle.exists()) {
println "\t + applying user-defined configuration from ${beforePluginGradle}"
apply from: pathToBeforePluginGradle
}
}

def applyAppGradleConfiguration = { ->
def appResourcesPath = getAppResourcesPath()
Expand Down Expand Up @@ -212,6 +222,7 @@ android {
}

setAppIdentifier()
applyBeforePluginGradleConfiguration()
applyPluginGradleConfigurations()
applyAppGradleConfiguration()
}
Expand Down Expand Up @@ -251,7 +262,7 @@ dependencies {
supportVer = supportVersion
}

println "Using support version $supportVer"
println "Using support library version $supportVer"

implementation "com.android.support:multidex:1.0.2"
implementation "com.android.support:support-v4:$supportVer"
Expand Down