buildSrc/build.gradle.kts
author Da Risk <da_risk@geekorum.com>
Wed, 23 Jan 2019 18:30:57 -0800
changeset 54 53068a23963e
parent 49 fb9bfa6d7a40
child 113 32e2a09387f8
permissions -rw-r--r--
build: update Gradle Play Publisher to 2.1.0
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
 */
43
f4d6d383de7e Fix buildSrc compile error
Da Risk <da_risk@geekorum.com>
parents: 42
diff changeset
    21
import java.net.URI
0
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
    `kotlin-dsl`
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    25
}
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    26
42
f4d342269f9f Update genymotion gradle plugin version
Da Risk <da_risk@geekorum.com>
parents: 40
diff changeset
    27
version = "1.0"
f4d342269f9f Update genymotion gradle plugin version
Da Risk <da_risk@geekorum.com>
parents: 40
diff changeset
    28
40
c5ae393af55c Update gradle version to 5.1-milestone-1
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    29
kotlinDslPluginOptions {
c5ae393af55c Update gradle version to 5.1-milestone-1
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    30
    experimentalWarning.set(false)
c5ae393af55c Update gradle version to 5.1-milestone-1
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    31
}
0
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
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    34
repositories {
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    35
    gradlePluginPortal()
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    36
    jcenter()
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    37
    google()
42
f4d342269f9f Update genymotion gradle plugin version
Da Risk <da_risk@geekorum.com>
parents: 40
diff changeset
    38
    maven {
f4d342269f9f Update genymotion gradle plugin version
Da Risk <da_risk@geekorum.com>
parents: 40
diff changeset
    39
        // Workaround for genymotion plugin not working on gradle 5.0
f4d342269f9f Update genymotion gradle plugin version
Da Risk <da_risk@geekorum.com>
parents: 40
diff changeset
    40
        // we publish 1.4.1 version with fixes
f4d342269f9f Update genymotion gradle plugin version
Da Risk <da_risk@geekorum.com>
parents: 40
diff changeset
    41
        url = URI("https://raw.githubusercontent.com/fbarthelery/genymotion-gradle-plugin/master/repo/")
f4d342269f9f Update genymotion gradle plugin version
Da Risk <da_risk@geekorum.com>
parents: 40
diff changeset
    42
    }
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    43
}
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    44
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    45
dependencies {
49
fb9bfa6d7a40 Update to AGP-3.3.0 and gradle-5.1
Da Risk <da_risk@geekorum.com>
parents: 43
diff changeset
    46
    implementation("com.android.tools.build:gradle:3.3.0")
42
f4d342269f9f Update genymotion gradle plugin version
Da Risk <da_risk@geekorum.com>
parents: 40
diff changeset
    47
    implementation("com.genymotion:plugin:1.4.1")
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    48
    implementation("gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0")
54
53068a23963e build: update Gradle Play Publisher to 2.1.0
Da Risk <da_risk@geekorum.com>
parents: 49
diff changeset
    49
    implementation("com.github.triplet.gradle:play-publisher:2.1.0")
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    50
}