From dc5965e94078f93c63920b5e9e444debc99cc779 Mon Sep 17 00:00:00 2001 From: Fabrizio Caldarelli Date: Fri, 26 Jan 2024 18:36:47 +0100 Subject: [PATCH] Fix for "Could not get unknown property 'release' for SoftwareComponent container of type org.gradle.api.internal.component.DefaultSoftwareComponentContainer" exception buinding with Android gradle plugin: 8.1.1 and Gradle: 8.3 --- android/publish.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/publish.gradle b/android/publish.gradle index 216d52d..a6043bb 100644 --- a/android/publish.gradle +++ b/android/publish.gradle @@ -14,7 +14,7 @@ afterEvaluate { groupId = 'com.onfido.reactnative.sdk' version = packageJson.version - from components.release + from components.findByName('release') artifact sourceJar