diff --git a/auth/build.gradle b/auth/build.gradle
index 2bdaa1db111d5f0d8557c553ab6c5d41604b270f..cc39f283b4f08405dde8f688cf1b751ecad5767f 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