From ed1b869b51397426f5c0317a81d815f0a61d7f5d Mon Sep 17 00:00:00 2001 From: Arnaud Roland Date: Fri, 5 Jul 2024 10:14:18 +0200 Subject: [PATCH] all: update maven-publish --- hms-plugin/build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hms-plugin/build.gradle b/hms-plugin/build.gradle index 43d9e3d..0caa555 100644 --- a/hms-plugin/build.gradle +++ b/hms-plugin/build.gradle @@ -42,10 +42,16 @@ android { } } } + publishing { + singleVariant("release") { + withSourcesJar() + withJavadocJar() + } + } } dependencies { - api 'com.batch.android:batch-sdk:2.0+' + api 'com.batch.android:batch-sdk:2.0.3' api 'com.huawei.hms:push:6.5.0.300' implementation "androidx.annotation:annotation:$androidXLibraryVersion"