| author | Da Risk <da_risk@geekorum.com> |
| Mon, 05 May 2025 17:10:13 -0400 | |
| changeset 84 | f1e51fe391c2 |
| parent 73 | 1b1779baa28f |
| permissions | -rw-r--r-- |
|
73
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
1 |
/* |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
2 |
* AboutOss is a utility library to retrieve and display |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
3 |
* opensource licenses in Android applications. |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
4 |
* |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
5 |
* Copyright (C) 2023-2025 by Frederic-Charles Barthelery. |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
6 |
* |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
7 |
* This file is part of AboutOss. |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
8 |
* |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
9 |
* AboutOss is free software: you can redistribute it and/or modify |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
10 |
* it under the terms of the GNU General Public License as published by |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
11 |
* the Free Software Foundation, either version 3 of the License, or |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
12 |
* (at your option) any later version. |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
13 |
* |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
14 |
* AboutOss is distributed in the hope that it will be useful, |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
15 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
17 |
* GNU General Public License for more details. |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
18 |
* |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
19 |
* You should have received a copy of the GNU General Public License |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
20 |
* along with AboutOss. If not, see <http://www.gnu.org/licenses/>. |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
21 |
*/ |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
22 |
package com.geekorum.build |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
23 |
|
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
24 |
plugins {
|
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
25 |
id("org.jetbrains.dokka")
|
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
26 |
} |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
27 |
|
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
28 |
val libs = the<VersionCatalogsExtension>().named("libs")
|
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
29 |
dependencies {
|
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
30 |
val dokkaAndroidDep = libs.findLibrary("dokka-android-plugin").get().get()
|
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
31 |
dokkaPlugin(dokkaAndroidDep) |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
32 |
} |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
33 |
|
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
diff
changeset
|
34 |
configureDokka() |