| author | Da Risk <da_risk@geekorum.com> |
| Wed, 06 Oct 2021 13:32:36 -0400 | |
| changeset 811 | 7a9d8c146eb9 |
| parent 809 | a1586e51358d |
| child 863 | 71dca4f9acac |
| permissions | -rw-r--r-- |
| 611 | 1 |
/* |
| 0 | 2 |
* Geekttrss is a RSS feed reader application on the Android Platform. |
3 |
* |
|
| 611 | 4 |
* Copyright (C) 2017-2020 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 |
*/ |
|
21 |
||
| 566 | 22 |
pluginManagement {
|
23 |
val kotlinVersion: String by settings |
|
24 |
val androidxNavigationVersion: String by settings |
|
|
591
3b5cc2a7e64d
Migrate to Firebase Crashlytics instead of Fabrics
Da Risk <da_risk@geekorum.com>
parents:
566
diff
changeset
|
25 |
val crashlyticsVersion: String by settings |
| 566 | 26 |
val googleServicesVersion: String by settings |
27 |
val ossLicensesVersion: String by settings |
|
| 717 | 28 |
val hiltVersion: String by settings |
| 0 | 29 |
|
| 566 | 30 |
plugins {
|
31 |
kotlin("android") version kotlinVersion
|
|
32 |
kotlin("jvm") version kotlinVersion
|
|
33 |
kotlin("kapt") version kotlinVersion
|
|
34 |
kotlin("plugin.serialization") version kotlinVersion
|
|
35 |
id("androidx.navigation.safeargs.kotlin") version androidxNavigationVersion
|
|
|
591
3b5cc2a7e64d
Migrate to Firebase Crashlytics instead of Fabrics
Da Risk <da_risk@geekorum.com>
parents:
566
diff
changeset
|
36 |
id("com.google.firebase.crashlytics") version crashlyticsVersion
|
| 566 | 37 |
id("com.google.gms.google-services") version googleServicesVersion
|
38 |
id("com.google.android.gms.oss-licenses-plugin") version ossLicensesVersion
|
|
| 717 | 39 |
id("dagger.hilt.android.plugin") version hiltVersion
|
| 566 | 40 |
} |
41 |
||
| 0 | 42 |
repositories {
|
43 |
gradlePluginPortal() |
|
|
809
a1586e51358d
build: remove jcenter() use mavenCentral()
Da Risk <da_risk@geekorum.com>
parents:
717
diff
changeset
|
44 |
mavenCentral() |
| 0 | 45 |
maven {
|
46 |
// Workaround for bug https://github.com/gradle/kotlin-dsl/issues/1186 |
|
|
228
00ff988c9fca
build: update to AGP 3.4.1 and update oss-license-plugin
Da Risk <da_risk@geekorum.com>
parents:
178
diff
changeset
|
47 |
// we publish oss-licenses-plugin 0.9.5.1 |
| 566 | 48 |
url = uri("https://raw.githubusercontent.com/fbarthelery/play-services-plugins/master/repo/")
|
| 0 | 49 |
} |
50 |
google() |
|
51 |
} |
|
52 |
resolutionStrategy {
|
|
53 |
eachPlugin {
|
|
| 566 | 54 |
when (requested.id.id) {
|
55 |
"com.google.android.gms.oss-licenses-plugin" -> useModule("com.google.android.gms:oss-licenses-plugin:${ossLicensesVersion}")
|
|
56 |
"com.google.gms.google-services" -> useModule("com.google.gms:google-services:${googleServicesVersion}")
|
|
|
591
3b5cc2a7e64d
Migrate to Firebase Crashlytics instead of Fabrics
Da Risk <da_risk@geekorum.com>
parents:
566
diff
changeset
|
57 |
"com.google.firebase.crashlytics" -> useModule("com.google.firebase:firebase-crashlytics-gradle:${crashlyticsVersion}")
|
| 566 | 58 |
"androidx.navigation.safeargs.kotlin" -> useModule("androidx.navigation:navigation-safe-args-gradle-plugin:${androidxNavigationVersion}")
|
| 717 | 59 |
"dagger.hilt.android.plugin" -> useModule("com.google.dagger:hilt-android-gradle-plugin:${hiltVersion}")
|
| 0 | 60 |
} |
61 |
} |
|
62 |
} |
|
63 |
} |
|
64 |
||
65 |
include(":app")
|
|
|
178
d5a489985531
Add a manage_feeds on demand feature module
Da Risk <da_risk@geekorum.com>
parents:
114
diff
changeset
|
66 |
include(":manage_feeds")
|
|
307
f1b40d8534be
extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
228
diff
changeset
|
67 |
include(":htmlparsers")
|
|
310
bd0611482474
Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents:
307
diff
changeset
|
68 |
include(":webapi")
|
| 446 | 69 |
include(":faviKonSnoop")
|
| 0 | 70 |
|
71 |
val GEEKDROID_PROJECT_DIR: String? by settings |
|
72 |
GEEKDROID_PROJECT_DIR?.let {
|
|
73 |
includeBuild(it) {
|
|
74 |
dependencySubstitution {
|
|
|
670
1e81fe121832
Use geekdroid from jitpack instead of prebuilt library
Da Risk <da_risk@geekorum.com>
parents:
611
diff
changeset
|
75 |
substitute(module("com.geekorum:geekdroid")).with(project(":geekdroid"))
|
|
14
84a27546e309
google variant: log to crashlytics
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
76 |
substitute(module("com.geekorum:geekdroid-firebase")).with(project(":geekdroid-firebase"))
|
|
696
3330596b863d
build: use correct substitute for geekdroid
Da Risk <da_risk@geekorum.com>
parents:
670
diff
changeset
|
77 |
substitute(module("com.geekorum.geekdroid:geekdroid")).with(project(":geekdroid"))
|
|
3330596b863d
build: use correct substitute for geekdroid
Da Risk <da_risk@geekorum.com>
parents:
670
diff
changeset
|
78 |
substitute(module("com.geekorum.geekdroid:geekdroid-firebase")).with(project(":geekdroid-firebase"))
|
| 0 | 79 |
} |
80 |
} |
|
81 |
} |