| author | Da Risk <da_risk@geekorum.com> |
| Wed, 03 Jul 2019 12:16:55 -0700 | |
| changeset 332 | 40e435d80c0c |
| parent 310 | bd0611482474 |
| child 446 | d1582394380b |
| permissions | -rw-r--r-- |
| 0 | 1 |
/** |
2 |
* Geekttrss is a RSS feed reader application on the Android Platform. |
|
3 |
* |
|
4 |
* Copyright (C) 2017-2018 by Frederic-Charles Barthelery. |
|
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 |
||
22 |
import org.gradle.api.internal.DynamicObjectAware |
|
23 |
import kotlin.reflect.KProperty |
|
24 |
import java.net.URI |
|
25 |
||
26 |
pluginManagement {
|
|
27 |
repositories {
|
|
28 |
gradlePluginPortal() |
|
29 |
jcenter() |
|
30 |
maven {
|
|
31 |
// 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
|
32 |
// we publish oss-licenses-plugin 0.9.5.1 |
| 0 | 33 |
url = URI("https://raw.githubusercontent.com/fbarthelery/play-services-plugins/master/repo/")
|
34 |
} |
|
35 |
google() |
|
36 |
maven {
|
|
37 |
url = URI("https://maven.fabric.io/public")
|
|
38 |
} |
|
39 |
} |
|
40 |
resolutionStrategy {
|
|
41 |
eachPlugin {
|
|
42 |
val id = requested.id.id |
|
43 |
when {
|
|
44 |
id == "com.google.android.gms.oss-licenses-plugin" -> useModule("com.google.android.gms:oss-licenses-plugin:${requested.version}")
|
|
45 |
id == "com.google.gms.google-services" -> useModule("com.google.gms:google-services:${requested.version}")
|
|
46 |
id.startsWith("com.android.") -> useModule("com.android.tools.build:gradle:${requested.version}")
|
|
47 |
id == "com.github.triplet.play" -> useModule("com.github.triplet.gradle:play-publisher:${requested.version}")
|
|
48 |
id == "io.fabric" -> useModule("io.fabric.tools:gradle:${requested.version}")
|
|
49 |
id == "kotlinx-serialization" -> useModule("org.jetbrains.kotlin:kotlin-serialization:${requested.version}")
|
|
|
332
40e435d80c0c
build: add navigation safe args plugin
Da Risk <da_risk@geekorum.com>
parents:
310
diff
changeset
|
50 |
id == "androidx.navigation.safeargs.kotlin" -> useModule("androidx.navigation:navigation-safe-args-gradle-plugin:${requested.version}")
|
| 0 | 51 |
} |
52 |
} |
|
53 |
} |
|
54 |
} |
|
55 |
||
56 |
include(":app")
|
|
|
178
d5a489985531
Add a manage_feeds on demand feature module
Da Risk <da_risk@geekorum.com>
parents:
114
diff
changeset
|
57 |
include(":manage_feeds")
|
|
307
f1b40d8534be
extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
228
diff
changeset
|
58 |
include(":htmlparsers")
|
|
310
bd0611482474
Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents:
307
diff
changeset
|
59 |
include(":webapi")
|
| 0 | 60 |
|
61 |
val GEEKDROID_PROJECT_DIR: String? by settings |
|
62 |
GEEKDROID_PROJECT_DIR?.let {
|
|
63 |
includeBuild(it) {
|
|
64 |
dependencySubstitution {
|
|
65 |
substitute(module("com.geekorum:geekdroid")).with(project(":library"))
|
|
|
14
84a27546e309
google variant: log to crashlytics
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
66 |
substitute(module("com.geekorum:geekdroid-firebase")).with(project(":geekdroid-firebase"))
|
| 0 | 67 |
} |
68 |
} |
|
69 |
} |