Updaded dependencies.
This commit is contained in:
parent
c261c48931
commit
d8da21b0ef
12 changed files with 194 additions and 19 deletions
26
build.gradle
26
build.gradle
|
@ -1,14 +1,16 @@
|
|||
plugins {
|
||||
id 'checkstyle'
|
||||
id 'application'
|
||||
id 'checkstyle'
|
||||
id 'com.github.ben-manes.versions' version '0.28.0'
|
||||
id 'com.github.spotbugs' version '4.0.4'
|
||||
id 'idea'
|
||||
id 'io.gitlab.arturbosch.detekt' version '1.7.0-beta2'
|
||||
id 'jacoco'
|
||||
id 'java'
|
||||
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.3.70'
|
||||
id 'org.sonarqube' version '2.8'
|
||||
id 'pmd'
|
||||
id "com.github.ben-manes.versions" version "0.28.0"
|
||||
id "com.github.spotbugs" version "4.0.4"
|
||||
id "net.thauvin.erik.gradle.semver" version "1.0.4"
|
||||
id "org.sonarqube" version "2.8"
|
||||
}
|
||||
|
||||
import com.github.spotbugs.snom.SpotBugsTask
|
||||
|
@ -25,7 +27,7 @@ ext {
|
|||
versions = [
|
||||
kotlin : '1.3.70',
|
||||
log4j : '2.13.1',
|
||||
spotbugs : '4.0.0'
|
||||
spotbugs : '4.0.1'
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -62,7 +64,7 @@ dependencies {
|
|||
implementation 'net.thauvin.erik:pinboard-poster:1.0.1'
|
||||
|
||||
implementation 'net.aksingh:owm-japis:2.5.3.0'
|
||||
// Override own-japis dependencies with newer version of Kotlin
|
||||
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin"
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin"
|
||||
|
||||
|
@ -102,6 +104,10 @@ pmd {
|
|||
consoleOutput = true
|
||||
}
|
||||
|
||||
detekt {
|
||||
baseline = file("detekt-baseline.xml")
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
|
||||
|
@ -151,6 +157,10 @@ sonarqube {
|
|||
}
|
||||
}
|
||||
|
||||
jacoco {
|
||||
toolVersion = '0.8.5'
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
reports {
|
||||
html.enabled = true
|
||||
|
@ -194,7 +204,7 @@ task deploy(dependsOn: ['clean', 'build', 'jar']) {
|
|||
mustRunAfter clean
|
||||
}
|
||||
|
||||
task release(dependsOn: ['wrapper', 'clean', 'deploy']) {
|
||||
task release(dependsOn: ['wrapper', 'deploy']) {
|
||||
group = 'Publishing'
|
||||
description = 'Releases new version.'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue