Skip to content

Commit 4698591

Browse files
author
Brandon Sneed
committed
fix(kotlin): attempt to fix kotlin versioning issue
1 parent 5b06a3c commit 4698591

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/android/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
33

4-
def defaultKotlinVersion = '1.3.21'
54
def safeExtGet(prop, fallback) {
65
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
76
}
@@ -42,5 +41,5 @@ dependencies {
4241
api 'com.segment.analytics.android:analytics:4.5.0-beta.0'
4342

4443
api 'com.facebook.react:react-native:+'
45-
api "org.jetbrains.kotlin:kotlin-stdlib:${safeExtGet("kotlinVersion", defaultKotlinVersion)}"
44+
api "org.jetbrains.kotlin:kotlin-stdlib:${safeExtGet("kotlinVersion", "1.3.21")}"
4645
}

0 commit comments

Comments
 (0)