From 7ab2afbab7a64d58a97723734dc2dad4021f3b9b Mon Sep 17 00:00:00 2001 From: Thibault Malbranche Date: Thu, 28 May 2020 13:18:13 +0200 Subject: [PATCH] fix(android): Broken build due to conditional import of kotlin (#1412) --- android/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index a5c7275..e6d0508 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -16,6 +16,14 @@ buildscript { classpath("com.android.tools.build:gradle:3.6.0") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}") } + } else { + repositories { + jcenter() + } + + dependencies { + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}") + } } }