From 24cfd74252cb24c38e4035be01f95c539bfb6eef Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Mon, 7 Aug 2023 11:18:54 -0700 Subject: [PATCH] Remove dokka plugin (#4995) Summary: [gradle] Remove dokka plugin This is currently breaking our jetpack-compose build and blocks the entire release as a consequence: https://github.com/facebook/flipper/issues/4970 There are all sorts of workarounds but they require changing the java target which could have other downstream consequences: https://github.com/Kotlin/dokka/issues/2956 We don't actually rely on these artefacts at all, so it's probably safe to just disable this. Closes https://github.com/facebook/flipper/issues/4970 Pull Request resolved: https://github.com/facebook/flipper/pull/4995 Test Plan: ./gradlew publishToMavenLocal Reviewed By: antonk52 Differential Revision: D48062872 Pulled By: passy fbshipit-source-id: aef0696d5ac83dd50bcbb96b0552f9b222f5a566 --- android/plugins/jetpack-compose/build.gradle | 7 +++++++ build.gradle | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/android/plugins/jetpack-compose/build.gradle b/android/plugins/jetpack-compose/build.gradle index ca9e357b5..2a095f13c 100644 --- a/android/plugins/jetpack-compose/build.gradle +++ b/android/plugins/jetpack-compose/build.gradle @@ -32,3 +32,10 @@ android { } apply plugin: 'com.vanniktech.maven.publish' + +import com.vanniktech.maven.publish.SonatypeHost +mavenPublishing { + // Disable javadoc publishing + publishToMavenCentral(SonatypeHost.DEFAULT, false) +} + diff --git a/build.gradle b/build.gradle index f4a63ead6..a9f474712 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,6 @@ buildscript { classpath 'com.android.tools.build:gradle:8.1.0' classpath 'com.vanniktech:gradle-maven-publish-plugin:0.25.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION" - classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.8.20" classpath "org.jetbrains.kotlin:kotlin-serialization:$KOTLIN_VERSION" } }