diff --git a/.github/workflows/publish-gravitino.yml b/.github/workflows/publish-gravitino.yml deleted file mode 100644 index 8a909ba39e..0000000000 --- a/.github/workflows/publish-gravitino.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Publish Gravitino to OSSRH - -on: - # Triggers the workflow on push events only for the release branches(branch-*) and test branches(test*) - push: - branches: [ "branch-*", "test*" ] - -jobs: - publish-gravitino: - runs-on: ubuntu-latest - timeout-minutes: 120 - env: - SONATYPE_USER: ${{ secrets.OSSRH_USERNAME }} - SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - GPG_ID: ${{ secrets.GPG_ID }} - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-java@v3 - with: - java-version: '8' - distribution: 'temurin' - - - name: Check publish username and password - run: | - if [ "${SONATYPE_USER}" = "" ] || [ "${SONATYPE_PASSWORD}" = "" ]; then - echo "Username or password is empty. Please try to set github action secret OSSRH_USERNAME and OSSRH_PASSWORD. " - exit 1 - fi - - if [ "${GPG_PRIVATE_KEY}" = "" ] || [ "${GPG_ID}" = "" ] || [ "${GPG_PASSPHRASE}" = "" ]; then - echo "GPG private key, id or passphrase is empty. Please try to set github action secret GPG_PRIVATE_KEY, GPG_ID and GPG_PASSPHRASE. " - exit 1 - fi - - - name: Clean, build and publish the release(branch-*) branch - run: ./gradlew clean build publish \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 3172fa9899..88b70d7bae 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,7 +22,6 @@ plugins { alias(libs.plugins.gradle.extensions) alias(libs.plugins.spotless) alias(libs.plugins.publish) - id("org.jetbrains.dokka") version "1.9.10" // Apply one top level rat plugin to perform any required license enforcement analysis alias(libs.plugins.rat) id("com.github.jk1.dependency-license-report") version "2.5" @@ -47,18 +46,8 @@ allprojects { mavenCentral() mavenLocal() } - - tasks.withType().configureEach { - dokkaSourceSets { - configureEach { - reportUndocumented.set(false) - } - } - } } -apply(plugin = "io.github.gradle-nexus.publish-plugin") - nexusPublishing { repositories { sonatype {