From 250baf225c980aae2acbcc4f3315325fb8182335 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 27 Apr 2022 16:31:53 +0200 Subject: [PATCH] Suppress legacy Riot classes from being documented. --- matrix-sdk-android/build.gradle | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/matrix-sdk-android/build.gradle b/matrix-sdk-android/build.gradle index a4a3dcee80..4165b60c56 100644 --- a/matrix-sdk-android/build.gradle +++ b/matrix-sdk-android/build.gradle @@ -19,13 +19,15 @@ dokkaHtml { configureEach { // Emit warnings about not documented members. reportUndocumented.set(true) - // Suppress package legacy riot. Sadly this does not work - /* + // Suppress legacy Riot's packages. perPackageOption { - prefix.set("org.matrix.android.sdk.internal.legacy.riot") + matchingRegex.set("org.matrix.android.sdk.internal.legacy.riot") + suppress.set(true) + } + perPackageOption { + matchingRegex.set("org.matrix.androidsdk.crypto.data") suppress.set(true) } - */ } } }