build.gradle.kts
author Da Risk <da_risk@geekorum.com>
Wed, 30 Jan 2019 17:42:47 -0800
changeset 60 f6cd6af5e047
parent 52 e5c5c909ba21
child 101 247d5b1c0324
permissions -rw-r--r--
Update to room-2.1.0-alpha04
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     1
/**
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     2
 * Geekttrss is a RSS feed reader application on the Android Platform.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     3
 *
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     4
 * Copyright (C) 2017-2018 by Frederic-Charles Barthelery.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     5
 *
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     6
 * This file is part of Geekttrss.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     7
 *
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     8
 * Geekttrss is free software: you can redistribute it and/or modify
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     9
 * it under the terms of the GNU General Public License as published by
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    10
 * the Free Software Foundation, either version 3 of the License, or
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    11
 * (at your option) any later version.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    12
 *
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    13
 * Geekttrss is distributed in the hope that it will be useful,
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    16
 * GNU General Public License for more details.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    17
 *
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    18
 * You should have received a copy of the GNU General Public License
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    19
 * along with Geekttrss.  If not, see <http://www.gnu.org/licenses/>.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    20
 */
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    21
import java.net.URI
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    22
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    23
plugins {
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    24
    id("com.google.android.gms.oss-licenses-plugin") version "0.9.3.1" apply false
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    25
    id("com.google.gms.google-services") version "3.2.0" apply false
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    26
    id("io.fabric") version "1.25.4" apply false
52
e5c5c909ba21 Kotlin: update to 1.3.20 and coroutines 1.1.0
Da Risk <da_risk@geekorum.com>
parents: 51
diff changeset
    27
    kotlin("android") version "1.3.20" apply false
e5c5c909ba21 Kotlin: update to 1.3.20 and coroutines 1.1.0
Da Risk <da_risk@geekorum.com>
parents: 51
diff changeset
    28
    kotlin("kapt") version "1.3.20" apply false
e5c5c909ba21 Kotlin: update to 1.3.20 and coroutines 1.1.0
Da Risk <da_risk@geekorum.com>
parents: 51
diff changeset
    29
    id("kotlinx-serialization") version "1.3.20" apply false
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    30
}
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    31
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    32
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    33
// some extra properties
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    34
extra["compileSdkVersion"] = "android-28"
51
3e04fe4155ff Update to dagger 2.21
Da Risk <da_risk@geekorum.com>
parents: 50
diff changeset
    35
extra["daggerVersion"] = "2.21"
50
a4bb7d5230d8 Update to androidx lifecyle-2.1.0-alpha01 and cleanup
Da Risk <da_risk@geekorum.com>
parents: 41
diff changeset
    36
extra["lifecycleVersion"] = "2.1.0-alpha01"
60
f6cd6af5e047 Update to room-2.1.0-alpha04
Da Risk <da_risk@geekorum.com>
parents: 52
diff changeset
    37
extra["roomVersion"] = "2.1.0-alpha04"
52
e5c5c909ba21 Kotlin: update to 1.3.20 and coroutines 1.1.0
Da Risk <da_risk@geekorum.com>
parents: 51
diff changeset
    38
extra["kotlinVersion"] = "1.3.20"
e5c5c909ba21 Kotlin: update to 1.3.20 and coroutines 1.1.0
Da Risk <da_risk@geekorum.com>
parents: 51
diff changeset
    39
extra["corountinesVersion"] = "1.1.0"
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    40
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    41
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    42
allprojects {
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    43
    repositories {
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    44
        google()
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    45
        jcenter()
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    46
        // for kotlinx
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    47
        maven { url = URI("https://kotlin.bintray.com/kotlinx") }
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    48
    }
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    49
}
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    50
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    51
tasks.register("clean", Delete::class.java) {
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    52
    delete(buildDir)
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    53
}