From 0f18387fb8ec22ca491c3fdb641c92b395de5b72 Mon Sep 17 00:00:00 2001 From: "Peter M. Stahl" Date: Mon, 16 May 2022 14:21:04 +0200 Subject: [PATCH] Update dependencies --- build.gradle.kts | 32 ++++++++++++++++---------------- gradle.properties | 4 ++-- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3b489f6d..4c9a312f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -51,14 +51,14 @@ version = linguaVersion description = linguaDescription plugins { - kotlin("jvm") version "1.6.0" - kotlin("plugin.serialization") version "1.6.0" - id("org.jlleitschuh.gradle.ktlint") version "10.2.0" - id("com.adarshr.test-logger") version "3.1.0" + kotlin("jvm") version "1.6.21" + kotlin("plugin.serialization") version "1.6.21" + id("org.jlleitschuh.gradle.ktlint") version "10.3.0" + id("com.adarshr.test-logger") version "3.2.0" id("com.asarkar.gradle.build-time-tracker") version "3.0.1" - id("org.jetbrains.dokka") version "1.6.0" + id("org.jetbrains.dokka") version "1.6.21" id("ru.vyarus.use-python") version "2.3.0" - id("com.github.johnrengelman.shadow") version "7.1.0" + id("com.github.johnrengelman.shadow") version "7.1.2" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" `maven-publish` signing @@ -85,10 +85,10 @@ val accuracyReportImplementation by configurations.getting { configurations["accuracyReportRuntimeOnly"].extendsFrom(configurations.runtimeOnly.get()) -compileTestKotlin.kotlinOptions.jvmTarget = "1.8" +compileTestKotlin.kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString() tasks.named("compileAccuracyReportKotlin", KotlinCompile::class) { - kotlinOptions.jvmTarget = "1.8" + kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString() } tasks.withType { @@ -302,19 +302,19 @@ tasks.register("runLinguaOnConsole") { } dependencies { - implementation("org.jetbrains.kotlin:kotlin-stdlib:1.6.0") - implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1") - implementation("it.unimi.dsi:fastutil:8.5.6") + implementation(kotlin("stdlib")) + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3") + implementation("it.unimi.dsi:fastutil:8.5.8") testImplementation("org.junit.jupiter:junit-jupiter:5.8.2") - testImplementation("org.assertj:assertj-core:3.21.0") - testImplementation("io.mockk:mockk:1.12.1") + testImplementation("org.assertj:assertj-core:3.22.0") + testImplementation("io.mockk:mockk:1.12.3") accuracyReportImplementation("com.optimaize.languagedetector:language-detector:0.6") accuracyReportImplementation("org.apache.opennlp:opennlp-tools:1.9.4") - accuracyReportImplementation("org.apache.tika:tika-core:2.1.0") - accuracyReportImplementation("org.apache.tika:tika-langdetect-optimaize:2.1.0") - accuracyReportImplementation("org.slf4j:slf4j-nop:1.7.32") + accuracyReportImplementation("org.apache.tika:tika-core:2.3.0") + accuracyReportImplementation("org.apache.tika:tika-langdetect-optimaize:2.3.0") + accuracyReportImplementation("org.slf4j:slf4j-nop:1.7.36") } python { diff --git a/gradle.properties b/gradle.properties index f64fa423..0c7693b0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -# Copyright © 2018-today Peter M. Stahl pemistahl@gmail.com +# Copyright © 2018-today Peter M. Stahl pemistahl@gmail.com # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ linguaGroupId=com.github.pemistahl linguaArtifactId=lingua -linguaVersion=1.1.1 +linguaVersion=1.2.0-SNAPSHOT linguaName=Lingua