Skip to content

Commit

Permalink
ACTUALLY disable dokka builds (#5005)
Browse files Browse the repository at this point in the history
Summary:
This should hopefully unblock our Android builds for real this time. I didn't realise that the AGP itself seems to ship with a version of Dokka, so just removing the import didn't actually address the problem we were seeing.

Pull Request resolved: #5005

Test Plan:
```
./gradlew publishToMavenLocal -PRELEASE_SIGNING_ENABLED=false
```

This now succeeds.

Reviewed By: jknoxville

Differential Revision: D48312784

Pulled By: passy

fbshipit-source-id: f049e089a511726857f544386fe13dcb50fb2971
  • Loading branch information
passy authored and facebook-github-bot committed Aug 14, 2023
1 parent bdbf579 commit 29f072f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 1 addition & 7 deletions android/plugins/jetpack-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,5 @@ android {
}
}

apply plugin: 'com.vanniktech.maven.publish'

import com.vanniktech.maven.publish.SonatypeHost
mavenPublishing {
// Disable javadoc publishing
publishToMavenCentral(SonatypeHost.DEFAULT, false)
}

apply plugin: 'com.vanniktech.maven.publish'
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ subprojects {
tasks.withType(Javadoc).all {
enabled = false
}

tasks.withType(com.android.build.gradle.tasks.JavaDocGenerationTask).all {
enabled = false
}
}

ext {
Expand Down

0 comments on commit 29f072f

Please sign in to comment.