| author | Da Risk <da_risk@geekorum.com> |
| Mon, 20 May 2019 15:08:22 -0700 | |
| changeset 162 | f627eceb01b2 |
| parent 161 | a359009c33c3 |
| child 181 | 5ba798c38149 |
| 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 |
*/ |
|
|
161
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
21 |
import com.geekorum.build.createComponentsPlatforms |
|
101
247d5b1c0324
build: use dependencies version alignment and filter content of google()
Da Risk <da_risk@geekorum.com>
parents:
60
diff
changeset
|
22 |
import com.geekorum.build.setupGoogleContent |
| 0 | 23 |
import java.net.URI |
24 |
||
25 |
plugins {
|
|
|
114
573c45437ea9
Update to AGP 3.4 and genymotion plugin 1.4.2
Da Risk <da_risk@geekorum.com>
parents:
113
diff
changeset
|
26 |
id("com.google.android.gms.oss-licenses-plugin") version "0.9.3.2" apply false
|
| 0 | 27 |
id("com.google.gms.google-services") version "3.2.0" apply false
|
28 |
id("io.fabric") version "1.25.4" apply false
|
|
| 113 | 29 |
kotlin("android") version "1.3.30" apply false
|
30 |
kotlin("kapt") version "1.3.30" apply false
|
|
31 |
id("kotlinx-serialization") version "1.3.30" apply false
|
|
| 0 | 32 |
} |
33 |
||
34 |
||
35 |
// some extra properties |
|
36 |
extra["compileSdkVersion"] = "android-28" |
|
| 51 | 37 |
extra["daggerVersion"] = "2.21" |
|
162
f627eceb01b2
Update appcompat and lifecycle
Da Risk <da_risk@geekorum.com>
parents:
161
diff
changeset
|
38 |
extra["lifecycleVersion"] = "2.2.0-alpha01" |
| 147 | 39 |
extra["roomVersion"] = "2.1.0-beta01" |
| 113 | 40 |
extra["kotlinVersion"] = "1.3.30" |
|
122
c598826a4795
Update geekdroid and coroutines version
Da Risk <da_risk@geekorum.com>
parents:
114
diff
changeset
|
41 |
extra["coroutinesVersion"] = "1.2.1" |
| 0 | 42 |
|
43 |
||
44 |
allprojects {
|
|
45 |
repositories {
|
|
|
101
247d5b1c0324
build: use dependencies version alignment and filter content of google()
Da Risk <da_risk@geekorum.com>
parents:
60
diff
changeset
|
46 |
google().setupGoogleContent() |
| 0 | 47 |
jcenter() |
48 |
// for kotlinx |
|
49 |
maven { url = URI("https://kotlin.bintray.com/kotlinx") }
|
|
|
161
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
50 |
// for geekdroid |
|
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
51 |
flatDir {
|
|
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
52 |
dirs(rootProject.files("libs"))
|
|
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
53 |
} |
|
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
54 |
} |
|
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
55 |
dependencies {
|
|
a359009c33c3
Build: create version alignment platform for all projects
Da Risk <da_risk@geekorum.com>
parents:
147
diff
changeset
|
56 |
createComponentsPlatforms() |
| 0 | 57 |
} |
58 |
} |
|
59 |
||
60 |
tasks.register("clean", Delete::class.java) {
|
|
61 |
delete(buildDir) |
|
62 |
} |