build.gradle.kts
author Da Risk <da_risk@geekorum.com>
Fri, 03 May 2019 12:04:27 -0700
changeset 122 c598826a4795
parent 114 573c45437ea9
child 147 52fd9f563f16
permissions -rw-r--r--
Update geekdroid and coroutines version

/**
 * Geekttrss is a RSS feed reader application on the Android Platform.
 *
 * Copyright (C) 2017-2018 by Frederic-Charles Barthelery.
 *
 * This file is part of Geekttrss.
 *
 * Geekttrss is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Geekttrss is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Geekttrss.  If not, see <http://www.gnu.org/licenses/>.
 */
import com.geekorum.build.setupGoogleContent
import java.net.URI

plugins {
    id("com.google.android.gms.oss-licenses-plugin") version "0.9.3.2" apply false
    id("com.google.gms.google-services") version "3.2.0" apply false
    id("io.fabric") version "1.25.4" apply false
    kotlin("android") version "1.3.30" apply false
    kotlin("kapt") version "1.3.30" apply false
    id("kotlinx-serialization") version "1.3.30" apply false
}


// some extra properties
extra["compileSdkVersion"] = "android-28"
extra["daggerVersion"] = "2.21"
extra["lifecycleVersion"] = "2.1.0-alpha04"
extra["roomVersion"] = "2.1.0-alpha04"
extra["kotlinVersion"] = "1.3.30"
extra["coroutinesVersion"] = "1.2.1"


allprojects {
    repositories {
        google().setupGoogleContent()
        jcenter()
        // for kotlinx
        maven { url = URI("https://kotlin.bintray.com/kotlinx") }
    }
}

tasks.register("clean", Delete::class.java) {
    delete(buildDir)
}