Skip to content

Commit 842c854

Browse files
author
Ledmington
committed
Updated dependencies and fixed deprecation warnings
1 parent 122e16a commit 842c854

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

build.gradle

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id 'java'
33
id 'jacoco'
44
id 'pmd'
5-
id 'com.github.spotbugs' version '6.1.5'
5+
id 'com.github.spotbugs' version '6.1.7'
66
id 'com.adarshr.test-logger' version '4.0.0'
77
id 'com.diffplug.spotless' version '7.0.2'
88
id 'com.github.ben-manes.versions' version '0.52.0'
@@ -55,7 +55,7 @@ allprojects {
5555

5656
javadoc {
5757
failOnError = true
58-
title "mal-v${version}-doc"
58+
title = "mal-v${version}-doc"
5959
options.encoding = 'UTF-8'
6060
options.addBooleanOption('Werror', true)
6161
}
@@ -77,46 +77,46 @@ allprojects {
7777
}
7878

7979
jacoco {
80-
toolVersion = "0.8.12"
80+
toolVersion = '0.8.12'
8181
reportsDirectory = layout.buildDirectory.dir('jacoco')
8282
}
8383

8484
testlogger {
85-
theme 'standard'
85+
theme = 'standard'
8686

87-
showExceptions true
88-
showStackTraces true
89-
showFullStackTraces false
90-
showCauses true
87+
showExceptions = true
88+
showStackTraces = true
89+
showFullStackTraces = true
90+
showCauses = true
9191

92-
slowThreshold 2000
92+
slowThreshold = 2000
9393

94-
showSummary true
95-
showSimpleNames false
96-
showPassed false
97-
showSkipped true
98-
showFailed true
99-
showOnlySlow false
94+
showSummary = true
95+
showSimpleNames = false
96+
showPassed = false
97+
showSkipped = true
98+
showFailed = true
99+
showOnlySlow = false
100100

101-
showStandardStreams true
102-
showPassedStandardStreams true
103-
showSkippedStandardStreams true
104-
showFailedStandardStreams true
101+
showStandardStreams = true
102+
showPassedStandardStreams = true
103+
showSkippedStandardStreams = true
104+
showFailedStandardStreams = true
105105

106-
logLevel 'lifecycle'
106+
logLevel = 'lifecycle'
107107
}
108108

109109
pmd {
110110
consoleOutput = true
111-
toolVersion = "7.2.0"
111+
toolVersion = '7.11.0'
112112
rulesMinimumPriority = 5
113113
threads = 1
114114
incrementalAnalysis = true
115115
ruleSetConfig = resources.text.fromFile(path("${project.rootDir}", "ruleset.xml"))
116116
}
117117

118118
spotbugs {
119-
toolVersion = '4.9.1'
119+
toolVersion = '4.9.2'
120120

121121
ignoreFailures = false
122122
showStackTraces = true
@@ -148,7 +148,7 @@ spotless {
148148
}
149149
setEncoding('utf-8')
150150
removeUnusedImports()
151-
palantirJavaFormat('2.52.0').formatJavadoc(true)
151+
palantirJavaFormat('2.55.0').formatJavadoc(true)
152152
leadingSpacesToTabs()
153153
formatAnnotations()
154154
trimTrailingWhitespace()

examples/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ test.enabled = false
3333
javadoc.enabled = false
3434

3535
tasks.register('fatJar', Jar) {
36-
group 'distribution'
37-
description 'Builds the fat jar of the application'
36+
group = 'distribution'
37+
description = 'Builds the fat jar of the application'
3838
from sourceSets.main.output
3939
dependsOn configurations.runtimeClasspath
4040
from {

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pitest {
1313
targetClasses.set(['com.ledmington.mal.*'])
1414
targetTests.set(['com.ledmington.mal.*'])
1515
pitestVersion = '1.18.2' // not needed when a default PIT version should be used
16-
junit5PluginVersion = '1.2.1'
16+
junit5PluginVersion = '1.2.2'
1717
threads = 4
1818
outputFormats.set(['HTML'])
1919
verbose = true

0 commit comments

Comments
 (0)