From bf05952582807b469e721cf8ca3be36e8db17f28 Mon Sep 17 00:00:00 2001 From: Greg Wright Date: Fri, 23 Sep 2016 13:50:01 -0500 Subject: [PATCH] Gradle custom script 'app/custom.gradle' (#473) --- app/.gitignore | 2 +- app/build.gradle | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/.gitignore b/app/.gitignore index 8bd2d8bd6..90de2b9c8 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1,4 +1,4 @@ /build *iml *.iml -.idea \ No newline at end of file +custom.gradle \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index b6344decc..a87138e69 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,6 +4,10 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' +if (file("custom.gradle").exists()) { + apply from: "custom.gradle" +} + ext { // 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