| author | Da Risk <da_risk@geekorum.com> |
| Thu, 07 Dec 2023 17:07:40 -0400 | |
| changeset 1160 | 358d1b2a161e |
| parent 1145 | b991e9a02478 |
| child 1174 | 731f6ee517b6 |
| permissions | -rw-r--r-- |
| 181 | 1 |
/* |
| 0 | 2 |
* Geekttrss is a RSS feed reader application on the Android Platform. |
3 |
* |
|
|
943
298742859784
build: update license headers
Da Risk <da_risk@geekorum.com>
parents:
941
diff
changeset
|
4 |
* Copyright (C) 2017-2023 by Frederic-Charles Barthelery. |
| 0 | 5 |
* |
6 |
* This file is part of Geekttrss. |
|
7 |
* |
|
8 |
* Geekttrss is free software: you can redistribute it and/or modify |
|
9 |
* it under the terms of the GNU General Public License as published by |
|
10 |
* the Free Software Foundation, either version 3 of the License, or |
|
11 |
* (at your option) any later version. |
|
12 |
* |
|
13 |
* Geekttrss is distributed in the hope that it will be useful, |
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
* GNU General Public License for more details. |
|
17 |
* |
|
18 |
* You should have received a copy of the GNU General Public License |
|
19 |
* along with Geekttrss. If not, see <http://www.gnu.org/licenses/>. |
|
20 |
*/ |
|
|
1013
18d820f292d6
build: rework buildSrc to use agp-api
Da Risk <da_risk@geekorum.com>
parents:
944
diff
changeset
|
21 |
import com.geekorum.build.* |
| 0 | 22 |
|
23 |
plugins {
|
|
|
1019
57b5ce68376f
build: still use agp dependency in buildSrc
Da Risk <da_risk@geekorum.com>
parents:
1013
diff
changeset
|
24 |
// alias(libs.plugins.android.application) apply false |
|
57b5ce68376f
build: still use agp dependency in buildSrc
Da Risk <da_risk@geekorum.com>
parents:
1013
diff
changeset
|
25 |
// alias(libs.plugins.android.dynamic.feature) apply false |
|
1020
35d86e87cd75
build: don't use plugin aliases in project for now
Da Risk <da_risk@geekorum.com>
parents:
1019
diff
changeset
|
26 |
// alias(libs.plugins.kotlin.android) apply false |
|
35d86e87cd75
build: don't use plugin aliases in project for now
Da Risk <da_risk@geekorum.com>
parents:
1019
diff
changeset
|
27 |
// alias(libs.plugins.kotlin.jvm) apply false |
|
35d86e87cd75
build: don't use plugin aliases in project for now
Da Risk <da_risk@geekorum.com>
parents:
1019
diff
changeset
|
28 |
// alias(libs.plugins.kotlin.kapt) apply false |
|
1032
fdca7174bdb7
app: use room-compiler with ksp
Da Risk <da_risk@geekorum.com>
parents:
1020
diff
changeset
|
29 |
kotlin("plugin.serialization") version libs.versions.kotlin.asProvider().get() apply false
|
|
fdca7174bdb7
app: use room-compiler with ksp
Da Risk <da_risk@geekorum.com>
parents:
1020
diff
changeset
|
30 |
alias(libs.plugins.kotlin.ksp) apply false |
| 566 | 31 |
// these should not be needed but for an unknown reason they get applied |
32 |
// with bad ordering if not there. or they can't be applied dynamically |
|
33 |
// version used is in gradle.properties |
|
|
941
dd7a7a2adb1c
build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents:
918
diff
changeset
|
34 |
alias(libs.plugins.firebase.crashlytics) apply false |
|
dd7a7a2adb1c
build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents:
918
diff
changeset
|
35 |
alias(libs.plugins.google.gms.google.services) apply false |
| 0 | 36 |
} |
37 |
||
38 |
allprojects {
|
|
39 |
repositories {
|
|
|
101
247d5b1c0324
build: use dependencies version alignment and filter content of google()
Da Risk <da_risk@geekorum.com>
parents:
60
diff
changeset
|
40 |
google().setupGoogleContent() |
|
809
a1586e51358d
build: remove jcenter() use mavenCentral()
Da Risk <da_risk@geekorum.com>
parents:
765
diff
changeset
|
41 |
mavenCentral() |
|
161
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
42 |
// for geekdroid |
|
670
1e81fe121832
Use geekdroid from jitpack instead of prebuilt library
Da Risk <da_risk@geekorum.com>
parents:
611
diff
changeset
|
43 |
maven {
|
|
1e81fe121832
Use geekdroid from jitpack instead of prebuilt library
Da Risk <da_risk@geekorum.com>
parents:
611
diff
changeset
|
44 |
url = uri("https://jitpack.io")
|
|
1e81fe121832
Use geekdroid from jitpack instead of prebuilt library
Da Risk <da_risk@geekorum.com>
parents:
611
diff
changeset
|
45 |
} |
|
161
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
46 |
} |
|
1145
b991e9a02478
build: clean root build.gradle.kts
Da Risk <da_risk@geekorum.com>
parents:
1138
diff
changeset
|
47 |
} |
| 0 | 48 |
|
49 |
tasks.register("clean", Delete::class.java) {
|
|
50 |
delete(buildDir) |
|
51 |
} |