Fix gradle deprecations in Kotlin Native
Merge-request: KT-MR-10267 Merged-by: Cristian Garcia <Cristian.Garcia-Marin@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
20d8f54ea3
commit
d32d5346a2
@@ -12,7 +12,7 @@ val gsonVersion = rootProject.extra["versions.gson"] as String
|
||||
dependencies {
|
||||
constraints {
|
||||
configurations.all {
|
||||
if (isCanBeResolved) {
|
||||
if (isCanBeResolved && !isCanBeConsumed) {
|
||||
allDependencies.configureEach {
|
||||
if (group == "com.google.code.gson" && name == "gson") {
|
||||
this@constraints.add(this@all.name, "com.google.code.gson:gson") {
|
||||
|
||||
Reference in New Issue
Block a user