зеркало из https://github.com/microsoft/rnx-kit.git
chore(deps): update dependency androidx.core:core-ktx to v1.12.0 (#3065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
This commit is contained in:
Родитель
c2f1989f34
Коммит
6eaf8c49ae
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
---
|
|
@ -26,6 +26,11 @@ buildscript {
|
|||
return rootProject.ext.has(prop) ? rootProject.ext.get(prop) : defaultValue
|
||||
}
|
||||
|
||||
ext.parseVersion = { version ->
|
||||
def (major, minor, patch) = version.findAll(/\d+/)
|
||||
return ((major as int) * 1000000) + ((minor as int) * 1000) + ((patch ?: 0) as int)
|
||||
}
|
||||
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
|
@ -77,7 +82,12 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation "androidx.core:core-ktx:1.9.0"
|
||||
def kotlinVersion = parseVersion(getExtProp("kotlinVersion", "1.7.21"))
|
||||
if (kotlinVersion >= 1008000) {
|
||||
implementation "androidx.core:core-ktx:1.12.0"
|
||||
} else {
|
||||
implementation(["androidx.core", "core-ktx", "1.9.0"].join(":"))
|
||||
}
|
||||
|
||||
//noinspection GradleDynamicVersion
|
||||
implementation "com.facebook.react:react-native:+"
|
||||
|
|
Загрузка…
Ссылка в новой задаче