buildSrc/build.gradle.kts
author Da Risk <da_risk@geekorum.com>
Fri, 07 Feb 2020 00:03:27 -0400
changeset 611 91b8d76c03cd
parent 566 5f481ad9fcc6
child 635 1c1d190b326a
permissions -rw-r--r--
Update copyrights headers

/*
 * Geekttrss is a RSS feed reader application on the Android Platform.
 *
 * Copyright (C) 2017-2020 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/>.
 */
plugins {
    `kotlin-dsl`
}

version = "1.0"

kotlinDslPluginOptions {
    experimentalWarning.set(false)
}


repositories {
    gradlePluginPortal()
    jcenter()
    google()
    maven {
        // Workaround for genymotion plugin not working on gradle 5.0
        // we publish 1.4.2 version with fixes
        url = uri("https://raw.githubusercontent.com/fbarthelery/genymotion-gradle-plugin/master/repo/")
    }
}

dependencies {
    // 3.5.0 and above make connectedTest in feature modules fails with a ResourceNotFoundException
    // from resources from the base app module
    implementation("com.android.tools.build:gradle:3.4.2")
    implementation("com.genymotion:plugin:1.4.2")
    implementation("gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.15.0")
    // 2.3.0 requires AGP 3.5.0, wait for fix before upgrade
    implementation("com.github.triplet.gradle:play-publisher:2.2.1")
}