| author | Da Risk <da_risk@geekorum.com> |
| Mon, 26 May 2025 18:27:07 -0400 | |
| changeset 107 | 627dd879e3a4 |
| parent 73 | 1b1779baa28f |
| permissions | -rw-r--r-- |
| 0 | 1 |
/* |
2 |
* AboutOss is an utility library to retrieve and display |
|
3 |
* opensource licenses in Android applications. |
|
4 |
* |
|
|
34
ce299aacc068
build: update license headers
Da Risk <da_risk@geekorum.com>
parents:
23
diff
changeset
|
5 |
* Copyright (C) 2023-2025 by Frederic-Charles Barthelery. |
| 0 | 6 |
* |
7 |
* This file is part of AboutOss. |
|
8 |
* |
|
9 |
* AboutOss is free software: you can redistribute it and/or modify |
|
10 |
* it under the terms of the GNU General Public License as published by |
|
11 |
* the Free Software Foundation, either version 3 of the License, or |
|
12 |
* (at your option) any later version. |
|
13 |
* |
|
14 |
* AboutOss is distributed in the hope that it will be useful, |
|
15 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
17 |
* GNU General Public License for more details. |
|
18 |
* |
|
19 |
* You should have received a copy of the GNU General Public License |
|
20 |
* along with AboutOss. If not, see <http://www.gnu.org/licenses/>. |
|
21 |
*/ |
|
22 |
||
23 |
plugins {
|
|
24 |
`kotlin-dsl` |
|
25 |
} |
|
26 |
||
27 |
||
28 |
version = "1.0" |
|
29 |
||
30 |
kotlin{
|
|
31 |
sourceSets {
|
|
32 |
all {
|
|
33 |
languageSettings {
|
|
34 |
optIn("kotlin.RequiresOptIn")
|
|
35 |
} |
|
36 |
} |
|
37 |
} |
|
38 |
} |
|
39 |
repositories {
|
|
40 |
google {
|
|
41 |
content {
|
|
42 |
includeGroupByRegex("""android\.arch\..*""")
|
|
43 |
includeGroupByRegex("""androidx\..*""")
|
|
44 |
includeGroupByRegex("""com\.android\..*""")
|
|
45 |
includeGroupByRegex("""com\.google\..*""")
|
|
46 |
includeGroup("com.crashlytics.sdk.android")
|
|
47 |
includeGroup("io.fabric.sdk.android")
|
|
48 |
includeGroup("org.chromium.net")
|
|
49 |
includeGroup("zipflinger")
|
|
50 |
includeGroup("com.android")
|
|
51 |
} |
|
52 |
} |
|
53 |
mavenCentral() |
|
54 |
gradlePluginPortal() |
|
55 |
} |
|
56 |
||
| 22 | 57 |
// see https://github.com/gradle/gradle/issues/17963 |
58 |
fun Provider<PluginDependency>.gav(): String {
|
|
59 |
val t = get() |
|
60 |
val id = t.pluginId |
|
61 |
val version = t.version |
|
62 |
return "$id:$id.gradle.plugin:$version" |
|
63 |
} |
|
64 |
||
| 0 | 65 |
dependencies {
|
|
72
746669e015f9
build: cleanup libs.versions.toml
Da Risk <da_risk@geekorum.com>
parents:
68
diff
changeset
|
66 |
implementation(libs.plugins.android.application.gav()) |
|
746669e015f9
build: cleanup libs.versions.toml
Da Risk <da_risk@geekorum.com>
parents:
68
diff
changeset
|
67 |
implementation(libs.plugins.kotlin.android.gav()) |
| 0 | 68 |
implementation("gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.16.1")
|
|
72
746669e015f9
build: cleanup libs.versions.toml
Da Risk <da_risk@geekorum.com>
parents:
68
diff
changeset
|
69 |
implementation(libs.plugins.vanniktech.maven.publish.gav()) |
|
73
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
72
diff
changeset
|
70 |
implementation(libs.plugins.dokka.gav()) |
|
1b1779baa28f
build: configure dokka conventions
Da Risk <da_risk@geekorum.com>
parents:
72
diff
changeset
|
71 |
implementation(libs.dokka.android.plugin) |
| 0 | 72 |
implementation("com.geekorum.gradle.avdl:plugin:0.0.3")
|
73 |
implementation("com.geekorum.gradle.avdl:flydroid:0.0.3")
|
|
74 |
} |