Updated dependencies.

This commit is contained in:
Erik C. Thauvin 2020-12-01 00:56:52 -08:00
parent 44de253040
commit 549810b4bb
6 changed files with 83 additions and 81 deletions

View file

@ -1,14 +1,14 @@
plugins {
id 'application'
id 'checkstyle'
id 'com.github.ben-manes.versions' version '0.29.0'
id 'com.github.spotbugs' version '4.5.0'
id 'com.github.ben-manes.versions' version '0.36.0'
id 'com.github.spotbugs' version '4.6.0'
id 'idea'
id 'io.gitlab.arturbosch.detekt' version '1.11.0'
id 'io.gitlab.arturbosch.detekt' version '1.15.0-RC1'
id 'jacoco'
id 'java'
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
id 'org.jetbrains.kotlin.jvm' version '1.4.0'
id 'org.jetbrains.kotlin.jvm' version '1.4.20'
id 'org.sonarqube' version '3.0'
id 'pmd'
}
@ -22,8 +22,10 @@ final def semverProcessor = "net.thauvin.erik:semver:1.2.0"
mainClassName = packageName + '.Mobibot'
ext.versions = [
log4j : '2.13.3',
spotbugs: '4.1.1'
jacoco : '0.8.6',
log4j : '2.14.0',
pmd : '6.29.0',
spotbugs: '4.2.0'
]
repositories {
@ -36,41 +38,34 @@ dependencies {
annotationProcessor semverProcessor
compileOnly semverProcessor
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation 'pircbot:pircbot:1.5.0'
compileOnly 'pircbot:pircbot:1.5.0:sources'
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation 'com.rometools:rome:1.15.0'
implementation 'commons-cli:commons-cli:1.4'
implementation 'commons-net:commons-net:3.7.2'
implementation 'net.aksingh:owm-japis:2.5.3.0'
implementation 'net.objecthunter:exp4j:0.4.8'
implementation 'net.thauvin.erik:pinboard-poster:1.0.1'
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2'
implementation 'org.json:json:20201115'
implementation 'org.jsoup:jsoup:1.13.1'
implementation 'org.twitter4j:twitter4j-core:4.0.7'
implementation "org.apache.logging.log4j:log4j-api:$versions.log4j"
implementation "org.apache.logging.log4j:log4j-core:$versions.log4j"
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$versions.log4j"
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'commons-cli:commons-cli:1.4'
implementation 'commons-net:commons-net:3.7'
implementation 'com.rometools:rome:1.15.0'
implementation 'org.json:json:20200518'
implementation 'org.jsoup:jsoup:1.13.1'
implementation 'net.objecthunter:exp4j:0.4.8'
implementation 'org.twitter4j:twitter4j-core:4.0.7'
implementation 'net.thauvin.erik:pinboard-poster:1.0.1'
implementation 'net.aksingh:owm-japis:2.5.3.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
testImplementation 'org.testng:testng:7.3.0'
testImplementation 'org.assertj:assertj-core:3.16.1'
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.10.1'
spotbugsPlugins 'com.mebigfatguy.sb-contrib:sb-contrib:7.4.7'
compileOnly "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs"
testCompileOnly "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs"
testImplementation 'org.assertj:assertj-core:3.18.1'
testImplementation 'org.testng:testng:7.3.0'
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
spotbugsPlugins 'com.mebigfatguy.sb-contrib:sb-contrib:7.4.7'
}
test {
@ -117,7 +112,7 @@ spotbugs {
}
pmd {
toolVersion = '6.25.0'
toolVersion = versions.pmd
ignoreFailures = true
ruleSets = []
ruleSetFiles = files("${projectDir}/config/pmd.xml")
@ -167,7 +162,7 @@ sonarqube {
}
jacoco {
toolVersion = '0.8.5'
toolVersion = versions.jacoco
}
jacocoTestReport {