Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
[gradle] Remove dokka plugin
Browse files Browse the repository at this point in the history
Summary:
This is currently breaking our jetpack-compose build and blocks the entire release
as a consequence: #4970

There are all sorts of workarounds but they require changing the java target
which could have other downstream consequences: Kotlin/dokka#2956

We don't actually rely on these artefacts at all, so it's probably safe to just disable this.

Closes #4970

Test Plan:
./gradlew publishToMavenLocal
  • Loading branch information
passy committed Aug 4, 2023
1 parent 1de033c commit 6fab5a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions android/plugins/jetpack-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ buildscript {
classpath 'com.android.tools.build:gradle:8.0.2'
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"
}
}
Expand Down

0 comments on commit 6fab5a5

Please sign in to comment.