Dependencies updates. Kotlin 1.5.30.
This commit is contained in:
parent
c7961c2817
commit
d130957c6f
6 changed files with 196 additions and 127 deletions
26
build.gradle
26
build.gradle
|
@ -2,12 +2,12 @@ plugins {
|
|||
id 'application'
|
||||
id 'com.github.ben-manes.versions' version '0.39.0'
|
||||
id 'idea'
|
||||
id 'io.gitlab.arturbosch.detekt' version '1.18.0-RC2'
|
||||
id 'io.gitlab.arturbosch.detekt' version '1.18.0'
|
||||
id 'jacoco'
|
||||
id 'java'
|
||||
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.5.21'
|
||||
id 'org.jetbrains.kotlin.kapt' version '1.5.21'
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.5.30'
|
||||
id 'org.jetbrains.kotlin.kapt' version '1.5.30'
|
||||
id 'org.sonarqube' version '3.3'
|
||||
id 'pmd'
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ dependencies {
|
|||
implementation 'net.thauvin.erik:pinboard-poster:1.0.3'
|
||||
|
||||
implementation 'org.json:json:20210307'
|
||||
implementation 'org.jsoup:jsoup:1.14.1'
|
||||
implementation 'org.jsoup:jsoup:1.14.2'
|
||||
implementation 'org.twitter4j:twitter4j-core:4.0.7'
|
||||
|
||||
testImplementation 'org.assertj:assertj-core:3.20.2'
|
||||
|
@ -78,6 +78,24 @@ java {
|
|||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
kotlin {
|
||||
// Add kapt.use.worker.api=false to gradle.properties (JDK 16+)
|
||||
// See: https://youtrack.jetbrains.com/issue/KT-45545
|
||||
kotlinDaemonJvmArgs = [
|
||||
"-Dfile.encoding=UTF-8",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED"
|
||||
]
|
||||
}
|
||||
|
||||
kapt {
|
||||
arguments {
|
||||
arg('semver.project.dir', projectDir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue