From b600c192b5da305effd1e2d93472b7e1404827a1 Mon Sep 17 00:00:00 2001 From: Taras Smakula <tarassmakula@gmail.com> Date: Wed, 10 Apr 2024 18:31:27 +0300 Subject: [PATCH] Add auth publishing --- auth/build.gradle | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/auth/build.gradle b/auth/build.gradle index 2bdaa1db1..cc39f283b 100644 --- a/auth/build.gradle +++ b/auth/build.gradle @@ -95,4 +95,27 @@ dependencies { kapt { correctErrorTypes = true +} + +publishing { + publications { + gplayRelease(MavenPublication) { + groupId = rootProject.ext.modules_groupId + artifactId = "auth" + version rootProject.ext.modules_version + + afterEvaluate { + from components.gplayRelease + } + } + fdroidRelease(MavenPublication) { + groupId = rootProject.ext.modules_groupId + artifactId = "auth" + version rootProject.ext.modules_version + + afterEvaluate { + from components.fdroidRelease + } + } + } } \ No newline at end of file -- GitLab