Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

buildToolsVersion conflict #72

Open
SunnyEver0 opened this issue Dec 28, 2018 · 3 comments
Open

buildToolsVersion conflict #72

SunnyEver0 opened this issue Dec 28, 2018 · 3 comments

Comments

@SunnyEver0
Copy link

SunnyEver0 commented Dec 28, 2018

Could you plz change several parameters such as buildToolsVersion to read from the configuration file of the project root directory?
Like this function below:

def safeExtGet(prop, fallback) {
       rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

usage:

compileSdkVersion safeExtGet('compileSdkVersion', 26)
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.2')
@jordanbyron
Copy link
Owner

jordanbyron commented Dec 28, 2018 via email

@SunnyEver0
Copy link
Author

aha, I'll submit pr soon.thx.

@SunnyEver0
Copy link
Author

@jordanbyron hello, I have already submit the pr, plz review. thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants