fix(android): Broken build due to conditional import of kotlin (#1412)

This commit is contained in:
Thibault Malbranche 2020-05-28 13:18:13 +02:00 committed by GitHub
parent 938e62296a
commit 7ab2afbab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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')}")
}
}
}