Moved to JDK 18.

This commit is contained in:
Erik C. Thauvin 2022-03-23 11:58:18 -07:00
parent 4972e8e5d8
commit fa34f47dab
11 changed files with 19 additions and 28 deletions

View file

@ -5,8 +5,8 @@ plugins {
id 'io.gitlab.arturbosch.detekt' version '1.19.0'
id 'java'
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
id 'org.jetbrains.kotlin.jvm' version '1.6.10'
id 'org.jetbrains.kotlin.kapt' version '1.6.10'
id 'org.jetbrains.kotlin.jvm' version '1.6.20-RC'
id 'org.jetbrains.kotlin.kapt' version '1.6.20-RC'
id 'org.jetbrains.kotlinx.kover' version '0.5.0'
id 'org.sonarqube' version '3.3'
id 'pmd'
@ -27,8 +27,8 @@ def isNonStable = { String version ->
mainClassName = packageName + '.Mobibot'
ext.versions = [
log4j: '2.17.1',
pmd : '6.42.0',
log4j: '2.17.2',
pmd : '6.43.0',
]
repositories {
@ -54,7 +54,7 @@ dependencies {
// Google
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.google.guava:guava:31.0.1-jre'
implementation 'com.google.guava:guava:31.1-jre'
// Kotlin
implementation platform('org.jetbrains.kotlin:kotlin-bom')
@ -71,7 +71,7 @@ dependencies {
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'net.aksingh:owm-japis:2.5.3.0'
implementation 'net.objecthunter:exp4j:0.4.8'
implementation 'org.json:json:20211205'
implementation 'org.json:json:20220320'
implementation 'org.jsoup:jsoup:1.14.3'
implementation 'org.twitter4j:twitter4j-core:4.0.7'