From c68b16cd0c9428395ddf580a7c2b6a09696321e4 Mon Sep 17 00:00:00 2001 From: nbransby Date: Sun, 31 Mar 2024 20:12:59 +0800 Subject: [PATCH] exclude android sources from javadoc --- README.md | 2 +- build.gradle.kts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6c8e8a..cbd20b9 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ The `FirebasePlatform` interface also includes a `getDatabasePath` method for yo open fun getDatabasePath(name: String): File = File("${System.getProperty("java.io.tmpdir")}${File.separatorChar}$name") ``` -This is used by Firestore to support [offline data persistence](https://firebase.google.com/docs/firestore/manage-data/enable-offline). +This is used by Firestore to support [offline data persistence](https://firebase.google.com/docs/firestore/manage-data/enable-offline). #### Initialize the Firebase application diff --git a/build.gradle.kts b/build.gradle.kts index b96c9d3..27c336d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -73,7 +73,9 @@ tasks { withType().configureEach { onlyIf { !project.gradle.startParameter.taskNames.any { "MavenLocal" in it } } } - + javadoc { + exclude("android/**", "libcore/util/**") + } } val jar by tasks.getting(Jar::class) {