webapi/build.gradle.kts
author Da Risk <da_risk@geekorum.com>
Sun, 25 Aug 2019 19:23:07 -0700
changeset 405 e27dd029b4ef
parent 397 3881abcdd84c
child 413 ae75e57f782e
permissions -rw-r--r--
Update to coroutines 1.3.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
310
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
     1
import com.geekorum.build.enforcedCoroutinesPlatform
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
     2
307
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     3
/*
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     4
 * Geekttrss is a RSS feed reader application on the Android Platform.
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     5
 *
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     6
 * Copyright (C) 2017-2019 by Frederic-Charles Barthelery.
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     7
 *
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     8
 * This file is part of Geekttrss.
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     9
 *
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    10
 * Geekttrss is free software: you can redistribute it and/or modify
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    11
 * it under the terms of the GNU General Public License as published by
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    12
 * the Free Software Foundation, either version 3 of the License, or
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    13
 * (at your option) any later version.
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    14
 *
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    15
 * Geekttrss is distributed in the hope that it will be useful,
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    18
 * GNU General Public License for more details.
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    19
 *
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    20
 * You should have received a copy of the GNU General Public License
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    21
 * along with Geekttrss.  If not, see <http://www.gnu.org/licenses/>.
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    22
 */
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    23
plugins {
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    24
    kotlin("jvm")
310
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
    25
    id("kotlinx-serialization")
307
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    26
    id("com.geekorum.build.source-license-checker")
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    27
}
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    28
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    29
dependencies {
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    30
    implementation(kotlin("stdlib-jdk8"))
397
3881abcdd84c Update to kotlin-1.3.50
Da Risk <da_risk@geekorum.com>
parents: 357
diff changeset
    31
    implementation(enforcedPlatform(kotlin("bom")))
307
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    32
310
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
    33
    implementation("androidx.annotation:annotation:1.1.0")
307
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    34
    implementation("javax.inject:javax.inject:1")
310
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
    35
    implementation("com.squareup.retrofit2:retrofit:2.5.0")
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
    36
    implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.11.0")
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
    37
405
e27dd029b4ef Update to coroutines 1.3.0
Da Risk <da_risk@geekorum.com>
parents: 397
diff changeset
    38
    val coroutinesVersion = "1.3.0"
310
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
    39
    implementation(enforcedCoroutinesPlatform(coroutinesVersion))
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
    40
    api("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
bd0611482474 Extract tinyrss web api to a new module "webapi"
Da Risk <da_risk@geekorum.com>
parents: 307
diff changeset
    41
307
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    42
357
da0a1c954222 tests: update to Truth-1.0
Da Risk <da_risk@geekorum.com>
parents: 310
diff changeset
    43
    testImplementation("com.google.truth:truth:1.0")
397
3881abcdd84c Update to kotlin-1.3.50
Da Risk <da_risk@geekorum.com>
parents: 357
diff changeset
    44
    testImplementation(kotlin("test-junit"))
307
f1b40d8534be extract htmlparsers into a new library module
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    45
}