From 5a520891eedb49bcc6d2fce6b0afe3da99a656ba Mon Sep 17 00:00:00 2001 From: Anirudh Agarwal Date: Thu, 15 Jun 2023 13:43:29 -0700 Subject: [PATCH] relocating protobuf as causing dependency issues (#1190) Co-authored-by: Anirudh Agarwal --- build.gradle | 8 ++++++++ gradle.properties | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a2cd63169..954663742 100644 --- a/build.gradle +++ b/build.gradle @@ -19,6 +19,7 @@ plugins { // See https://issues.sonatype.org/browse/OSSRH-86507 for more details. id "com.vanniktech.maven.publish" version "0.22.0" id 'signing' + id 'com.github.johnrengelman.shadow' version '5.0.0' } repositories { @@ -187,3 +188,10 @@ allprojects { } } } + +apply plugin: 'com.github.johnrengelman.shadow' + +shadowJar { + configurations = [project.configurations.shadow] + relocate "com.google.protobuf", "com.linkedin.feathr.com.google.protobuf" +} diff --git a/gradle.properties b/gradle.properties index 2fb1e2b9c..6164d58f3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=1.0.5-rc2 +version=1.0.5-rc3 SONATYPE_AUTOMATIC_RELEASE=true POM_ARTIFACT_ID=feathr_2.12