Updated dependencies and snapshot
This commit is contained in:
parent
3d6101d165
commit
45e2915a01
33 changed files with 507 additions and 502 deletions
|
@ -5,18 +5,18 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|||
import java.net.URL
|
||||
|
||||
plugins {
|
||||
id("com.github.ben-manes.versions") version "0.46.0"
|
||||
id("io.gitlab.arturbosch.detekt") version "1.22.0"
|
||||
id("com.github.ben-manes.versions") version "0.47.0"
|
||||
id("io.gitlab.arturbosch.detekt") version "1.23.0"
|
||||
id("java")
|
||||
id("java-library")
|
||||
id("maven-publish")
|
||||
id("net.thauvin.erik.gradle.semver") version "1.0.4"
|
||||
id("org.jetbrains.dokka") version "1.8.10"
|
||||
id("org.jetbrains.kotlinx.kover") version "0.6.1"
|
||||
id("org.sonarqube") version "4.0.0.2929"
|
||||
id("org.jetbrains.dokka") version "1.8.20"
|
||||
id("org.jetbrains.kotlinx.kover") version "0.7.2"
|
||||
id("org.sonarqube") version "4.2.1.3168"
|
||||
id("signing")
|
||||
kotlin("jvm") version "1.8.20"
|
||||
kotlin("kapt") version "1.8.20"
|
||||
kotlin("jvm") version "1.8.22"
|
||||
kotlin("kapt") version "1.8.22"
|
||||
}
|
||||
|
||||
group = "net.thauvin.erik"
|
||||
|
@ -32,7 +32,7 @@ var semverProcessor = "net.thauvin.erik:semver:1.2.0"
|
|||
val publicationName = "mavenJava"
|
||||
|
||||
object Versions {
|
||||
const val OKHTTP = "4.10.0"
|
||||
const val OKHTTP = "4.11.0"
|
||||
}
|
||||
|
||||
fun isNonStable(version: String): Boolean {
|
||||
|
@ -52,11 +52,11 @@ dependencies {
|
|||
|
||||
implementation("com.squareup.okhttp3:okhttp:${Versions.OKHTTP}")
|
||||
implementation("com.squareup.okhttp3:logging-interceptor:${Versions.OKHTTP}")
|
||||
implementation("org.json:json:20230227")
|
||||
implementation("org.json:json:20230618")
|
||||
|
||||
testImplementation(kotlin("test"))
|
||||
testImplementation(kotlin("test-junit"))
|
||||
testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.25")
|
||||
testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.26.1")
|
||||
}
|
||||
|
||||
kapt {
|
||||
|
@ -76,13 +76,24 @@ java {
|
|||
withSourcesJar()
|
||||
}
|
||||
|
||||
koverReport {
|
||||
defaults {
|
||||
xml {
|
||||
onCheck = true
|
||||
}
|
||||
html {
|
||||
onCheck = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property("sonar.projectKey", "ethauvin_$name")
|
||||
property("sonar.organization", "ethauvin-github")
|
||||
property("sonar.host.url", "https://sonarcloud.io")
|
||||
property("sonar.sourceEncoding", "UTF-8")
|
||||
property("sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/kover/xml/report.xml")
|
||||
property("sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/kover/report.xml")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -116,9 +127,6 @@ tasks {
|
|||
destination = file("$projectDir/pom.xml")
|
||||
}
|
||||
|
||||
assemble {
|
||||
dependsOn(koverReport)
|
||||
}
|
||||
|
||||
clean {
|
||||
doLast {
|
||||
|
@ -191,10 +199,6 @@ tasks {
|
|||
group = PublishingPlugin.PUBLISH_TASK_GROUP
|
||||
dependsOn(wrapper, "deploy", gitTag, publishToMavenLocal)
|
||||
}
|
||||
|
||||
"sonar" {
|
||||
dependsOn(koverReport)
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue