From 70273d9a7ef353afd4be6dd67d8473c3a1450e6b Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Wed, 10 Apr 2024 17:42:30 +0300
Subject: [PATCH] Remove publishing

---
 auth/build.gradle | 21 ---------------------
 build.gradle      |  2 --
 core/build.gradle | 21 ---------------------
 3 files changed, 44 deletions(-)

diff --git a/auth/build.gradle b/auth/build.gradle
index 551de7b00..35b3dd2b3 100644
--- a/auth/build.gradle
+++ b/auth/build.gradle
@@ -3,7 +3,6 @@ apply plugin: 'org.jetbrains.kotlin.android'
 apply plugin: 'androidx.navigation.safeargs.kotlin'
 apply plugin: 'kotlin-kapt'
 apply plugin: 'dagger.hilt.android.plugin'
-apply plugin: 'maven-publish'
 
 android {
     namespace 'org.futo.circles.auth'
@@ -61,12 +60,6 @@ android {
             version '3.22.1'
         }
     }
-    publishing {
-        singleVariant("release") {
-            withSourcesJar()
-            withJavadocJar()
-        }
-    }
 }
 
 dependencies {
@@ -101,18 +94,4 @@ dependencies {
 
 kapt {
     correctErrorTypes = true
-}
-
-publishing {
-    publications {
-        release(MavenPublication) {
-            groupId = rootProject.ext.modules_groupId
-            artifactId = "auth-gplay"
-            version rootProject.ext.modules_version
-
-            afterEvaluate {
-                from components.gplayRelease
-            }
-        }
-    }
 }
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index ef9f3bfd9..d48fe4bbe 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,8 +4,6 @@ buildscript {
         min_sdk_version = 24
         androidx_nav_version = '2.7.7'
         hilt_version = '2.51.1'
-        modules_version = "1.0.9"
-        modules_groupId = "org.futo.gitlab.circles"
     }
     repositories {
         google()
diff --git a/core/build.gradle b/core/build.gradle
index 21ae032d6..b6a480387 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -3,7 +3,6 @@ apply plugin: 'org.jetbrains.kotlin.android'
 apply plugin: 'androidx.navigation.safeargs.kotlin'
 apply plugin: 'kotlin-kapt'
 apply plugin: 'dagger.hilt.android.plugin'
-apply plugin: 'maven-publish'
 
 
 android {
@@ -41,12 +40,6 @@ android {
                 "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
         ]
     }
-    publishing {
-        singleVariant("release") {
-            withSourcesJar()
-            withJavadocJar()
-        }
-    }
 }
 
 dependencies {
@@ -128,18 +121,4 @@ dependencies {
 
 kapt {
     correctErrorTypes = true
-}
-
-publishing {
-    publications {
-        release(MavenPublication) {
-            groupId = rootProject.ext.modules_groupId
-            artifactId = "core"
-            version rootProject.ext.modules_version
-
-            afterEvaluate {
-                from components.release
-            }
-        }
-    }
 }
\ No newline at end of file
-- 
GitLab