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
This commit is contained in:
Pascal Hartig
2023-08-07 11:18:54 -07:00
committed by Facebook GitHub Bot
parent 25ff271633
commit 24cfd74252
2 changed files with 7 additions and 1 deletions

View File

@@ -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)
}

View File

@@ -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"
}
}