From 151bcb52a2db217626fd97f79b9ba1d7be8b4d3d Mon Sep 17 00:00:00 2001 From: CleverNucleus Date: Sun, 30 Apr 2023 21:22:33 +0100 Subject: [PATCH] Modrinth has issues accepting javadocs. --- .github/workflows/build-and-deploy.yml | 12 +++++------- build.gradle | 1 + 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 06446209..c6b041ec 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -54,19 +54,17 @@ jobs: if: github.ref == 'refs/heads/${{ env.BRANCH_PREFIX }}/main' uses: Kir-Antipov/mc-publish@v3.2 with: - #curseforge-id: 514734 - #curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} - #curseforge-dependencies: | - # fabric-api | depends | * - #curseforge-files-secondary: build/libs/*-@(sources\|javadoc).jar + curseforge-id: 514734 + curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} + curseforge-dependencies: | + fabric-api | depends | * + curseforge-files-secondary: build/libs/*-@(sources\|javadoc).jar modrinth-id: wFyCClLQ modrinth-token: "${{ secrets.MODRINTH_TOKEN }}" modrinth-dependencies: | fabric-api | depends | * # Modrinth has issues accepting javadocs right now - modrinth-files-primary: build/libs/!(*-@(sources)).jar - modrinth-files-secondary: build/libs/*-sources.jar github-tag: "${{ steps.mod_version.outputs.mod_version }}" github-token: ${{ secrets.REPOSITORY_TOKEN }} diff --git a/build.gradle b/build.gradle index 235db6e9..f77e93e7 100644 --- a/build.gradle +++ b/build.gradle @@ -47,6 +47,7 @@ task javadocJar(type: Jar) { archiveClassifier = "javadoc" } +// Modrinth has issues accepting javadocs right now // build.dependsOn javadocJar java {