From fa1c1a1948aa1de8d2b0f8f57b6dde271f4c6324 Mon Sep 17 00:00:00 2001 From: pengfeizhou Date: Fri, 26 Feb 2021 19:19:31 +0800 Subject: [PATCH] feat:add judge for devkit gradle --- doric-android/devkit/build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doric-android/devkit/build.gradle b/doric-android/devkit/build.gradle index 840ee4bc..2da63654 100644 --- a/doric-android/devkit/build.gradle +++ b/doric-android/devkit/build.gradle @@ -37,5 +37,6 @@ dependencies { implementation 'com.google.zxing:core:3.4.0' implementation 'com.google.zxing:android-core:3.3.0' } - -apply from: rootProject.file('scripts/upload.gradle') \ No newline at end of file +if (new File("scripts/upload.gradle").exists()) { + apply from: rootProject.file('scripts/upload.gradle') +}