buildSrc/build.gradle.kts
author Da Risk <da_risk@geekorum.com>
Fri, 23 Aug 2019 12:37:55 -0700
changeset 398 164702325c93
parent 396 c0a3c4ba2f87
child 404 b87559f67e22
permissions -rw-r--r--
build: Update to Gradle Play Publisher 2.3.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
181
5ba798c38149 Add Missing license headers
Da Risk <da_risk@geekorum.com>
parents: 114
diff changeset
     1
/*
0
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
 *
181
5ba798c38149 Add Missing license headers
Da Risk <da_risk@geekorum.com>
parents: 114
diff changeset
     4
 * Copyright (C) 2017-2019 by Frederic-Charles Barthelery.
0
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
114
573c45437ea9 Update to AGP 3.4 and genymotion plugin 1.4.2
Da Risk <da_risk@geekorum.com>
parents: 113
diff changeset
    40
        // we publish 1.4.2 version with fixes
42
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 {
396
c0a3c4ba2f87 Update to AGP 3.5.0
Da Risk <da_risk@geekorum.com>
parents: 228
diff changeset
    46
    implementation("com.android.tools.build:gradle:3.5.0")
114
573c45437ea9 Update to AGP 3.4 and genymotion plugin 1.4.2
Da Risk <da_risk@geekorum.com>
parents: 113
diff changeset
    47
    implementation("com.genymotion:plugin:1.4.2")
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")
398
164702325c93 build: Update to Gradle Play Publisher 2.3.0
Da Risk <da_risk@geekorum.com>
parents: 396
diff changeset
    49
    implementation("com.github.triplet.gradle:play-publisher:2.3.0")
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    50
}