| author | Da Risk <da_risk@geekorum.com> |
| Mon, 18 May 2020 16:57:47 -0400 | |
| changeset 696 | 3330596b863d |
| parent 670 | 1e81fe121832 |
| child 717 | 51c6ab8f66c5 |
| 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 |
|
| 0 | 28 |
|
| 566 | 29 |
plugins {
|
30 |
kotlin("android") version kotlinVersion
|
|
31 |
kotlin("jvm") version kotlinVersion
|
|
32 |
kotlin("kapt") version kotlinVersion
|
|
33 |
kotlin("plugin.serialization") version kotlinVersion
|
|
34 |
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
|
35 |
id("com.google.firebase.crashlytics") version crashlyticsVersion
|
| 566 | 36 |
id("com.google.gms.google-services") version googleServicesVersion
|
37 |
id("com.google.android.gms.oss-licenses-plugin") version ossLicensesVersion
|
|
38 |
} |
|
39 |
||
| 0 | 40 |
repositories {
|
41 |
gradlePluginPortal() |
|
42 |
jcenter() |
|
43 |
maven {
|
|
44 |
// 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
|
45 |
// we publish oss-licenses-plugin 0.9.5.1 |
| 566 | 46 |
url = uri("https://raw.githubusercontent.com/fbarthelery/play-services-plugins/master/repo/")
|
| 0 | 47 |
} |
48 |
google() |
|
49 |
} |
|
50 |
resolutionStrategy {
|
|
51 |
eachPlugin {
|
|
| 566 | 52 |
when (requested.id.id) {
|
53 |
"com.google.android.gms.oss-licenses-plugin" -> useModule("com.google.android.gms:oss-licenses-plugin:${ossLicensesVersion}")
|
|
54 |
"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
|
55 |
"com.google.firebase.crashlytics" -> useModule("com.google.firebase:firebase-crashlytics-gradle:${crashlyticsVersion}")
|
| 566 | 56 |
"androidx.navigation.safeargs.kotlin" -> useModule("androidx.navigation:navigation-safe-args-gradle-plugin:${androidxNavigationVersion}")
|
| 0 | 57 |
} |
58 |
} |
|
59 |
} |
|
60 |
} |
|
61 |
||
62 |
include(":app")
|
|
|
178
d5a489985531
Add a manage_feeds on demand feature module
Da Risk <da_risk@geekorum.com>
parents:
114
diff
changeset
|
63 |
include(":manage_feeds")
|
|
307
f1b40d8534be
extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
228
diff
changeset
|
64 |
include(":htmlparsers")
|
|
310
bd0611482474
Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents:
307
diff
changeset
|
65 |
include(":webapi")
|
| 446 | 66 |
include(":faviKonSnoop")
|
| 0 | 67 |
|
68 |
val GEEKDROID_PROJECT_DIR: String? by settings |
|
69 |
GEEKDROID_PROJECT_DIR?.let {
|
|
70 |
includeBuild(it) {
|
|
71 |
dependencySubstitution {
|
|
|
670
1e81fe121832
Use geekdroid from jitpack instead of prebuilt library
Da Risk <da_risk@geekorum.com>
parents:
611
diff
changeset
|
72 |
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
|
73 |
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
|
74 |
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
|
75 |
substitute(module("com.geekorum.geekdroid:geekdroid-firebase")).with(project(":geekdroid-firebase"))
|
| 0 | 76 |
} |
77 |
} |
|
78 |
} |