# HG changeset patch # User Da Risk # Date 1746389140 14400 # Node ID 57d9068de0efefa61f2560a2703dce89efe19d26 # Parent 1b1779baa28f5ecb49f9804e0b9087be0ffd0350 build: add dokka aggregation project diff -r 1b1779baa28f -r 57d9068de0ef core/build.gradle.kts --- a/core/build.gradle.kts Sun May 04 15:16:29 2025 -0400 +++ b/core/build.gradle.kts Sun May 04 16:05:40 2025 -0400 @@ -1,5 +1,3 @@ -import org.jetbrains.kotlin.gradle.dsl.JvmTarget - /* * AboutOss is an utility library to retrieve and display * opensource licenses in Android applications. @@ -21,12 +19,15 @@ * You should have received a copy of the GNU General Public License * along with AboutOss. If not, see . */ +import org.jetbrains.kotlin.gradle.dsl.JvmTarget + plugins { id("com.android.library") kotlin("multiplatform") id("com.geekorum.build.source-license-checker") alias(libs.plugins.kotlinx.serialization) id("com.geekorum.build.maven-publish") + id("com.geekorum.build.dokka") } group = "com.geekorum.aboutoss" diff -r 1b1779baa28f -r 57d9068de0ef dokka/build.gradle.kts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dokka/build.gradle.kts Sun May 04 16:05:40 2025 -0400 @@ -0,0 +1,35 @@ +/* + * AboutOss is an utility library to retrieve and display + * opensource licenses in Android applications. + * + * Copyright (C) 2023-2025 by Frederic-Charles Barthelery. + * + * This file is part of AboutOss. + * + * AboutOss is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * AboutOss is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with AboutOss. If not, see . + */ +plugins { + id("com.geekorum.build.dokka") +} + +dependencies { + dokka(project(":core")) + dokka(project(":ui:common")) + dokka(project(":ui:material2")) + dokka(project(":ui:material3")) +} + +dokka { + moduleName = "AboutOss" +} \ No newline at end of file diff -r 1b1779baa28f -r 57d9068de0ef settings.gradle.kts --- a/settings.gradle.kts Sun May 04 15:16:29 2025 -0400 +++ b/settings.gradle.kts Sun May 04 16:05:40 2025 -0400 @@ -32,3 +32,5 @@ include(":ui:material2") include(":ui:material3") include(":sample") +include(":dokka") + diff -r 1b1779baa28f -r 57d9068de0ef ui/common/build.gradle.kts --- a/ui/common/build.gradle.kts Sun May 04 15:16:29 2025 -0400 +++ b/ui/common/build.gradle.kts Sun May 04 16:05:40 2025 -0400 @@ -28,6 +28,7 @@ alias(libs.plugins.jetbrains.compose.multiplatform) alias(libs.plugins.kotlin.compose) id("com.geekorum.build.maven-publish") + id("com.geekorum.build.dokka") } group = "com.geekorum.aboutoss" @@ -127,3 +128,7 @@ name = artifactId } } + +dokka { + moduleName = "ui-common" +} diff -r 1b1779baa28f -r 57d9068de0ef ui/material2/build.gradle.kts --- a/ui/material2/build.gradle.kts Sun May 04 15:16:29 2025 -0400 +++ b/ui/material2/build.gradle.kts Sun May 04 16:05:40 2025 -0400 @@ -29,6 +29,7 @@ alias(libs.plugins.kotlinx.serialization) id("com.geekorum.build.source-license-checker") id("com.geekorum.build.maven-publish") + id("com.geekorum.build.dokka") } group = "com.geekorum.aboutoss" @@ -127,4 +128,8 @@ pom { name = artifactId } +} + +dokka { + moduleName = "ui-material" } \ No newline at end of file diff -r 1b1779baa28f -r 57d9068de0ef ui/material3/build.gradle.kts --- a/ui/material3/build.gradle.kts Sun May 04 15:16:29 2025 -0400 +++ b/ui/material3/build.gradle.kts Sun May 04 16:05:40 2025 -0400 @@ -29,6 +29,7 @@ alias(libs.plugins.kotlinx.serialization) id("com.geekorum.build.source-license-checker") id("com.geekorum.build.maven-publish") + id("com.geekorum.build.dokka") } group = "com.geekorum.aboutoss" @@ -133,4 +134,8 @@ pom { name = artifactId } +} + +dokka { + moduleName = "ui-material3" } \ No newline at end of file