webapi/build.gradle.kts
author Da Risk <da_risk@geekorum.com>
Wed, 04 Mar 2020 01:18:09 -0400
changeset 640 f6f64ebc7773
parent 611 91b8d76c03cd
child 651 dac728baf12b
permissions -rw-r--r--
webapi, faviKonSnoop: update serialization runtime for kotlin 1.3.70 this is a temporary fix while waiting for new version of the runtime

/*
 * 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/>.
 */
import com.geekorum.build.enforcedCoroutinesPlatform

plugins {
    kotlin("jvm")
    kotlin("plugin.serialization")
}

dependencies {
    implementation(kotlin("stdlib-jdk8"))
    implementation(enforcedPlatform(kotlin("bom")))

    implementation("androidx.annotation:annotation:1.1.0")
    implementation("javax.inject:javax.inject:1")
    implementation("com.squareup.retrofit2:retrofit:2.6.1")
    implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.14.0-1.3.70-eap-134")

    val coroutinesVersion = "1.3.2"
    implementation(enforcedCoroutinesPlatform(coroutinesVersion))
    api("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")


    testImplementation("com.google.truth:truth:1.0")
    testImplementation(kotlin("test-junit"))
}