From 59a42bf14f1ae3c732899097952280ad07ebe6d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Sat, 21 Jan 2023 19:13:09 +0100 Subject: [PATCH] Remove publish stuff from gradle. Since it's a Github action now. --- build.gradle | 45 --------------------------------------------- gradle.properties | 3 --- 2 files changed, 48 deletions(-) diff --git a/build.gradle b/build.gradle index 2b20815..f049901 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,5 @@ plugins { id 'net.minecraftforge.gradle' version '5.1.+' - id 'com.matthewprenger.cursegradle' version '1.4.0' - id "com.modrinth.minotaur" version "2.5.0" id 'maven-publish' id 'idea' id 'eclipse' @@ -121,49 +119,6 @@ jar { } } -publishing { - publications { - mavenJava(MavenPublication) { - artifactId = "${rootProject.archives_base_name}-${rootProject.minecraft_version}-${project.name}" - from components.java - } - } - repositories { - maven { - name = "GitHubPackages" - url = System.getenv("GITHUB_MAVEN_URL") ?: "" - credentials { - username = System.getenv("GITHUB_ACTOR") - password = System.getenv("GITHUB_TOKEN") - } - } - } -} - -curseforge { - apiKey = System.getenv('CURSEFORGE_API_KEY') ?: "" - project { - id = curse_project_id - releaseType = "release" - changelogType = "markdown" - changelog = System.getenv("CHANGELOG") ?: "Changelog not available." - addGameVersion 'Forge' - addGameVersion minecraft_version - addGameVersion "Java 17" - } -} - -modrinth { - token = System.getenv("MODRINTH_API_KEY") ?: "" - projectId = rootProject.modrinth_project_id - changelog = System.getenv("CHANGELOG") ?: "Changelog not available." - versionNumber = "MC${minecraft_version}-${semver}" - versionName = "${archives_base_name}-${version}" - versionType = "release" - gameVersions = [rootProject.minecraft_version] - loaders = ["forge"] -} - idea { module { for (final String exclude in ["out", "logs"]) { diff --git a/gradle.properties b/gradle.properties index dde75c7..4489605 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,8 +8,5 @@ maven_group=li.cil.bedrockores forge_version=43.2.3 -curse_project_id=275083 -modrinth_project_id=bedrockores - # Set by build pipeline. semver=0.0.0