From 300a977f1869eb03676ae63a7f4e2e2b52b9171c Mon Sep 17 00:00:00 2001 From: rhenwinch Date: Sun, 11 Feb 2024 12:18:31 +0800 Subject: [PATCH] fix: remove jitpack --- .github/workflows/jitpack.yml | 11 ----------- build.gradle.kts | 8 -------- core/util/build.gradle.kts | 21 --------------------- provider/base/build.gradle.kts | 23 +---------------------- 4 files changed, 1 insertion(+), 62 deletions(-) delete mode 100644 .github/workflows/jitpack.yml diff --git a/.github/workflows/jitpack.yml b/.github/workflows/jitpack.yml deleted file mode 100644 index 682f6be29..000000000 --- a/.github/workflows/jitpack.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Start Jitpack - -# Controls when the workflow will run -on: - push: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: js6pak/start-jitpack@master \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 91fa2f5d5..71d537267 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,14 +19,6 @@ plugins { id("com.osacky.doctor") version "0.9.1" } -subprojects { - val moduleGroup = if (group.toString().contains(rootProject.name, true).not()) { - path.substringBeforeLast(":").replace(":", ".") - } else "" - - group = "$group$moduleGroup" -} - // Generate a mf FAT AHH JAR! tasks.register("fatJar") { archiveBaseName.set("fat") diff --git a/core/util/build.gradle.kts b/core/util/build.gradle.kts index 41a00dd38..11024d4db 100644 --- a/core/util/build.gradle.kts +++ b/core/util/build.gradle.kts @@ -2,7 +2,6 @@ plugins { alias(libs.plugins.flixclusive.library) alias(libs.plugins.flixclusive.hilt) alias(libs.plugins.flixclusive.compose) - `maven-publish` } android { @@ -18,24 +17,4 @@ dependencies { implementation(libs.jsoup) implementation(libs.okhttp.dnsoverhttps) implementation(libs.retrofit) -} - -afterEvaluate { - publishing { - repositories { - mavenLocal() - - val token = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN") - - if (token != null) { - maven { - credentials { - username = "rhenwinch" - password = token - } - setUrl("https://maven.pkg.github.com/rhenwinch/Flixclusive") - } - } - } - } } \ No newline at end of file diff --git a/provider/base/build.gradle.kts b/provider/base/build.gradle.kts index a4c9ff86c..65e82365f 100644 --- a/provider/base/build.gradle.kts +++ b/provider/base/build.gradle.kts @@ -1,7 +1,6 @@ plugins { alias(libs.plugins.flixclusive.library) alias(libs.plugins.flixclusive.testing) - `maven-publish` } android { @@ -18,24 +17,4 @@ dependencies { implementation(libs.coroutines.test) implementation(libs.junit) implementation(libs.mockk) -} - -afterEvaluate { - publishing { - repositories { - mavenLocal() - - val token = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN") - - if (token != null) { - maven { - credentials { - username = "rhenwinch" - password = token - } - setUrl("https://maven.pkg.github.com/rhenwinch/Flixclusive") - } - } - } - } -} +} \ No newline at end of file