diff --git a/README.md b/README.md index f9842e0..ac64a77 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ [![Maven Central](https://img.shields.io/maven-central/v/io.github.j4ckofalltrades/steam-webapi-kt.svg?label=Maven%20Central)](https://search.maven.org/artifact/io.github.j4ckofalltrades/steam-webapi-kt) [![JitPack](https://jitpack.io/v/j4ckofalltrades/steam-webapi-kt.svg)](https://jitpack.io/#j4ckofalltrades/steam-webapi-kt) -[![Kotlin](https://img.shields.io/badge/kotlin-1.7.0-blueviolet)](https://kotlinlang.org) -[![Ktor](https://img.shields.io/badge/ktor-2.0.2-blue)](https://ktor.io) +[![Kotlin](https://img.shields.io/badge/kotlin-1.9.0-blueviolet)](https://kotlinlang.org) +[![Ktor](https://img.shields.io/badge/ktor-2.3.3-blue)](https://ktor.io) -[![KDoc](https://img.shields.io/badge/kdoc-1.2.1-green)](https://j4ckofalltrades.github.io/steam-webapi-kt) +[![KDoc](https://img.shields.io/badge/kdoc-1.2.2-green)](https://j4ckofalltrades.github.io/steam-webapi-kt) [![javadoc](https://javadoc.io/badge2/io.github.j4ckofalltrades/steam-webapi-kt/javadoc.svg)](https://javadoc.io/doc/io.github.j4ckofalltrades/steam-webapi-kt) [![codecov](https://codecov.io/gh/j4ckofalltrades/steam-webapi-kt/branch/main/graph/badge.svg?token=2IDBVWIE7T)](https://codecov.io/gh/j4ckofalltrades/steam-webapi-kt) @@ -17,7 +17,7 @@ Steam WebAPI wrapper in Kotlin and Ktor. ```kotlin dependencies { - implementation("com.github.j4ckofalltrades:steam-webapi-kt:1.2.1") + implementation("com.github.j4ckofalltrades:steam-webapi-kt:1.2.2") } ``` @@ -25,7 +25,7 @@ dependencies { ```groovy dependencies { - implementation "com.github.j4ckofalltrades:steam-webapi-kt:1.2.1" + implementation "com.github.j4ckofalltrades:steam-webapi-kt:1.2.2" } ``` @@ -35,7 +35,7 @@ dependencies { com.github.j4ckofalltrades steam-webapi-kt - 1.2.1 + 1.2.2 ``` @@ -51,7 +51,7 @@ repositories { } dependencies { - implementation("com.github.j4ckofalltrades:steam-webapi-kt:1.2.1") + implementation("com.github.j4ckofalltrades:steam-webapi-kt:1.2.2") } ``` @@ -63,7 +63,7 @@ dependencies { ```kotlin dependencies { - implementation("com.github.j4ckofalltrades:steam-webapi-kt:1.2.1") + implementation("com.github.j4ckofalltrades:steam-webapi-kt:1.2.2") } ``` @@ -99,8 +99,6 @@ steamUserApi.getPlayerSummaries(listOf("steam_ids")) ## Docs -For more detailed documentation see: - - [KDoc](https://j4ckofalltrades.github.io/steam-webapi-kt) - [Javadoc](https://javadoc.io/doc/io.github.j4ckofalltrades/steam-webapi-kt/latest) diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 09441d9..69beb48 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -1,4 +1,3 @@ -import kotlinx.kover.api.DefaultIntellijEngine import org.jetbrains.dokka.gradle.DokkaTask import java.net.URL @@ -7,17 +6,17 @@ plugins { kotlin("plugin.serialization") version "1.9.0" id("org.jlleitschuh.gradle.ktlint") version "10.2.1" id("org.jetbrains.dokka") version "1.8.20" - id("org.jetbrains.kotlinx.kover") version "0.6.1" + id("org.jetbrains.kotlinx.kover") version "0.7.3" `java-library` `maven-publish` signing } group = "io.github.j4ckofalltrades" -version = "1.2.1" +version = "1.2.2" var kotlinVersion = "1.9.0" -var ktorVersion = "2.3.0" +var ktorVersion = "2.3.3" repositories { mavenCentral() @@ -40,20 +39,22 @@ tasks.test { useJUnitPlatform() } -kover { - engine.set(DefaultIntellijEngine) +koverReport { filters { - classes { - excludes += listOf("*.types.*", "*.core.*") + excludes { + classes("*.types.*", "*.core.*") } } - xmlReport { - onCheck.set(true) - reportFile.set(layout.buildDirectory.file("kover/coverage/xml/result.xml")) - } - htmlReport { - onCheck.set(true) - reportDir.set(layout.buildDirectory.dir("kover/coverage/html")) + + defaults { + xml { + onCheck = true + setReportFile(layout.buildDirectory.file("kover/coverage/xml/result.xml")) + } + html { + onCheck = true + setReportDir(layout.buildDirectory.dir("kover/coverage/html")) + } } }