Gradle custom script 'app/custom.gradle' (#473)

This commit is contained in:
Greg Wright 2016-09-23 13:50:01 -05:00 committed by inorichi
parent 596a24fce8
commit bf05952582
2 changed files with 5 additions and 1 deletions

2
app/.gitignore vendored
View File

@ -1,4 +1,4 @@
/build /build
*iml *iml
*.iml *.iml
.idea custom.gradle

View File

@ -4,6 +4,10 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android-extensions'
if (file("custom.gradle").exists()) {
apply from: "custom.gradle"
}
ext { ext {
// Git is needed in your system PATH for these commands to work. // Git is needed in your system PATH for these commands to work.
// If it's not installed, you can return a random value as a workaround // If it's not installed, you can return a random value as a workaround