From 35146906ab5c0bcf9f94fa13e8b455feafc25183 Mon Sep 17 00:00:00 2001 From: Dmitry Tavpeko Date: Thu, 16 Nov 2023 21:03:14 +0300 Subject: [PATCH] #1109 Fix build fails on the version conflict with ResolutionStrategy.IGNORE --- .../gradle/androidpublisher/internal/DefaultEditManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play/android-publisher/src/main/kotlin/com/github/triplet/gradle/androidpublisher/internal/DefaultEditManager.kt b/play/android-publisher/src/main/kotlin/com/github/triplet/gradle/androidpublisher/internal/DefaultEditManager.kt index 947deee81..e5140ae7d 100644 --- a/play/android-publisher/src/main/kotlin/com/github/triplet/gradle/androidpublisher/internal/DefaultEditManager.kt +++ b/play/android-publisher/src/main/kotlin/com/github/triplet/gradle/androidpublisher/internal/DefaultEditManager.kt @@ -216,7 +216,7 @@ internal class DefaultEditManager( e has "forbidden" && e.details.message.orEmpty().let { m -> // Bundle message: APK specifies a version code that has already been used. // APK message: Cannot update a published APK. - m.contains("version code") || m.contains("Cannot update", ignoreCase = true) + m.contains("version code", ignoreCase = true) || m.contains("Cannot update", ignoreCase = true) } ) { when (strategy) {