faviKonSnoop/build.gradle.kts
author Da Risk <da_risk@geekorum.com>
Sun, 28 May 2023 17:37:07 -0400
changeset 1052 43bf3f913017
parent 1020 35d86e87cd75
child 1138 dcfb7a58a4d9
permissions -rw-r--r--
faviKonSnoop: use suspend functions and coroutine dispatchers
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
446
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     1
/*
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     2
 * Geekttrss is a RSS feed reader application on the Android Platform.
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     3
 *
943
298742859784 build: update license headers
Da Risk <da_risk@geekorum.com>
parents: 941
diff changeset
     4
 * Copyright (C) 2017-2023 by Frederic-Charles Barthelery.
446
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     5
 *
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     6
 * This file is part of Geekttrss.
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     7
 *
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     8
 * Geekttrss is free software: you can redistribute it and/or modify
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     9
 * it under the terms of the GNU General Public License as published by
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    10
 * the Free Software Foundation, either version 3 of the License, or
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    11
 * (at your option) any later version.
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    12
 *
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    13
 * Geekttrss is distributed in the hope that it will be useful,
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    16
 * GNU General Public License for more details.
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    17
 *
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    18
 * You should have received a copy of the GNU General Public License
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    19
 * along with Geekttrss.  If not, see <http://www.gnu.org/licenses/>.
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    20
 */
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    21
plugins {
1020
35d86e87cd75 build: don't use plugin aliases in project for now
Da Risk <da_risk@geekorum.com>
parents: 1013
diff changeset
    22
//    alias(libs.plugins.kotlin.jvm)
35d86e87cd75 build: don't use plugin aliases in project for now
Da Risk <da_risk@geekorum.com>
parents: 1013
diff changeset
    23
//    alias(libs.plugins.kotlinx.serialization)
35d86e87cd75 build: don't use plugin aliases in project for now
Da Risk <da_risk@geekorum.com>
parents: 1013
diff changeset
    24
    kotlin("jvm")
35d86e87cd75 build: don't use plugin aliases in project for now
Da Risk <da_risk@geekorum.com>
parents: 1013
diff changeset
    25
    kotlin("plugin.serialization")
446
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    26
}
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    27
944
f542381c10d3 build: update to kotlin 1.8.0
Da Risk <da_risk@geekorum.com>
parents: 943
diff changeset
    28
kotlin {
f542381c10d3 build: update to kotlin 1.8.0
Da Risk <da_risk@geekorum.com>
parents: 943
diff changeset
    29
    jvmToolchain(11)
f542381c10d3 build: update to kotlin 1.8.0
Da Risk <da_risk@geekorum.com>
parents: 943
diff changeset
    30
}
f542381c10d3 build: update to kotlin 1.8.0
Da Risk <da_risk@geekorum.com>
parents: 943
diff changeset
    31
446
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    32
dependencies {
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    33
    implementation(kotlin("stdlib-jdk8"))
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    34
    implementation(enforcedPlatform(kotlin("bom")))
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    35
941
dd7a7a2adb1c build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents: 913
diff changeset
    36
    api(platform(libs.okhttp.bom))
dd7a7a2adb1c build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents: 913
diff changeset
    37
    api(libs.okhttp)
dd7a7a2adb1c build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents: 913
diff changeset
    38
    api(libs.okio)
1052
43bf3f913017 faviKonSnoop: use suspend functions and coroutine dispatchers
Da Risk <da_risk@geekorum.com>
parents: 1020
diff changeset
    39
    implementation(platform(libs.kotlinx.coroutines.bom))
43bf3f913017 faviKonSnoop: use suspend functions and coroutine dispatchers
Da Risk <da_risk@geekorum.com>
parents: 1020
diff changeset
    40
    api(libs.kotlinx.coroutines.core)
941
dd7a7a2adb1c build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents: 913
diff changeset
    41
    implementation(libs.javax.inject)
dd7a7a2adb1c build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents: 913
diff changeset
    42
    implementation(libs.jsoup)
dd7a7a2adb1c build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents: 913
diff changeset
    43
    implementation(libs.kotlinx.serialization.json.okio)
446
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    44
941
dd7a7a2adb1c build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents: 913
diff changeset
    45
    testImplementation(libs.truth)
446
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    46
    testImplementation(kotlin("test-junit"))
941
dd7a7a2adb1c build: move dependencies to version catalog
Da Risk <da_risk@geekorum.com>
parents: 913
diff changeset
    47
    testImplementation(libs.mockk)
1052
43bf3f913017 faviKonSnoop: use suspend functions and coroutine dispatchers
Da Risk <da_risk@geekorum.com>
parents: 1020
diff changeset
    48
    testImplementation(libs.kotlinx.coroutines.test)
446
d1582394380b start faviKonSnoop library
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    49
}