Skip to content

Commit 1ca9de6

Browse files
author
Stephan Brandt
committed
Add: Seperate KTX Version, because it is not neccesarily the same as kotlin
1 parent a4f947e commit 1ca9de6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,11 @@ repositories {
127127
}
128128

129129
def kotlin_version = getExtOrDefault('kotlinVersion')
130+
def ktx_version = getExtOrDefault('ktxVersion')
130131

131132
dependencies {
132133
// noinspection GradleDynamicVersion
133134
api 'com.facebook.react:react-native:+'
134135
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
135-
implementation "androidx.core:core-ktx:$kotlin_version"
136+
implementation "androidx.core:core-ktx:$ktx_version"
136137
}

android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ShadowView_kotlinVersion=1.5.0
2+
ShadowView_ktxVersion=1.7.0
23
ShadowView_compileSdkVersion=29
34
ShadowView_buildToolsVersion=29.0.2
45
ShadowView_targetSdkVersion=29

0 commit comments

Comments
 (0)