-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
51 lines (45 loc) · 1.54 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* Software Name: OUDS Android
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* the text of which is available at https://opensource.org/license/MIT/
* or see the "LICENSE" file for more details.
*
* Software description: Android library of reusable graphical components
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
kotlin("jvm")
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.firebase.appdistribution) apply false
alias(libs.plugins.firebase.crashlytics) apply false
alias(libs.plugins.google.services) apply false
id(libs.plugins.dokka.gradle.plugin.get().pluginId) // https://github.com/gradle/gradle/issues/20084#issuecomment-1060822638
id("github")
id("release")
id("netlify")
id("check-notice")
}
dependencies {
dokkaPlugin(libs.dokka.android.documentation.plugin)
dokka(project(":core"))
dokka(project(":theme-contract"))
}
checkNotice {
additionalResourcePaths += "$rootDir/docs/images"
}
dokka {
// used as project name in the header
moduleName.set("OUDS Android")
pluginsConfiguration.html {
customAssets.from("docs/assets/logo-icon.svg")
customStyleSheets.from("docs/assets/orange-style.css")
footerMessage.set("Copyright © Orange 2024")
}
dokkaPublications.html {
includes.from("docs/index.md")
outputDirectory.set(projectDir.resolve("docs/dokka"))
}
}