Updated dependencies.
This commit is contained in:
parent
e77c8595cb
commit
7dc9a51a7f
16 changed files with 449 additions and 295 deletions
32
build.gradle
32
build.gradle
|
@ -1,5 +1,4 @@
|
|||
plugins {
|
||||
id 'checkstyle'
|
||||
id 'java'
|
||||
id 'jacoco'
|
||||
id 'idea'
|
||||
|
@ -7,10 +6,10 @@ plugins {
|
|||
id 'maven-publish'
|
||||
id 'signing'
|
||||
id 'pmd'
|
||||
id 'com.github.ben-manes.versions' version '0.38.0'
|
||||
id 'com.github.ben-manes.versions' version '0.42.0'
|
||||
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
|
||||
id 'com.github.spotbugs' version '4.7.1'
|
||||
id 'org.sonarqube' version '3.2.0'
|
||||
id 'com.github.spotbugs' version '5.0.6'
|
||||
id 'org.sonarqube' version '3.3'
|
||||
}
|
||||
|
||||
import com.github.spotbugs.snom.SpotBugsTask
|
||||
|
@ -35,20 +34,20 @@ mainClassName = 'net.thauvin.erik.httpstatus.Reasons'
|
|||
ext {
|
||||
versions = [
|
||||
pmd: '6.35.0',
|
||||
spotbugs: '4.2.3'
|
||||
spotbugs: '4.6.0'
|
||||
]
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'javax.servlet:javax.servlet-api:4.0.1'
|
||||
implementation 'javax.servlet.jsp:jsp-api:2.2.1-b03'
|
||||
implementation 'javax.el:javax.el-api:3.0.1-b06'
|
||||
|
||||
compileOnly 'javax.servlet:javax.servlet-api:4.0.1'
|
||||
compileOnly 'javax.servlet.jsp:jsp-api:2.2.1-b03'
|
||||
compileOnly 'javax.el:javax.el-api:3.0.1-b06'
|
||||
|
||||
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
|
||||
spotbugsPlugins 'com.mebigfatguy.sb-contrib:sb-contrib:7.4.7'
|
||||
|
@ -56,7 +55,7 @@ dependencies {
|
|||
compileOnly "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs"
|
||||
testCompileOnly "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs"
|
||||
|
||||
testImplementation 'org.testng:testng:7.4.0'
|
||||
testImplementation 'org.testng:testng:7.5'
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
|
@ -114,13 +113,6 @@ pmd {
|
|||
consoleOutput = true
|
||||
}
|
||||
|
||||
tasks.withType(Checkstyle) {
|
||||
reports {
|
||||
xml.enabled = false
|
||||
html.enabled = true
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(SpotBugsTask) {
|
||||
reports {
|
||||
xml.enabled = false
|
||||
|
@ -223,9 +215,13 @@ task pandoc(type: Exec) {
|
|||
}
|
||||
}
|
||||
|
||||
jacoco {
|
||||
toolVersion = '0.8.8-SNAPSHOT'
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
reports {
|
||||
xml.enabled true
|
||||
xml.required = true
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue