Skip to content

Commit

Permalink
Scalac settings update. pitest version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimY4 committed May 24, 2023
1 parent 357401f commit 447f330
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/check-mutationcoverage.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'info.solidsoft.pitest'

pitest {
junit5PluginVersion = '1.1.2'
pitestVersion = '1.12.0'
pitestVersion = '1.14.0'
targetClasses = ['com.github.simy4.xpath.*']
threads = 4
outputFormats = ['XML', 'HTML']
Expand Down
4 changes: 3 additions & 1 deletion xpath-to-xml-scala/build-3.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ tasks.withType(ScalaCompile).configureEach {
'-explain-types', // Explain type errors in more detail.
'-feature', // Emit warning and location for usages of features that should be imported explicitly.
'-language:macros,implicitConversions',
'-Wvalue-discard', // Emit warning and location when a result of a statement is unused.
'-Wunused:nowarn,implicits,explicits,locals,params,privates',
'-Xfatal-warnings', // Fail the compilation if there are any warnings.
'-source:3.2', // Turn on future language features.
'-source:3.3', // Turn on future language features.
'-java-output-version:8',
'-P:wartremover:only-warn-traverser:org.wartremover.warts.Unsafe',
]
Expand Down

0 comments on commit 447f330

Please sign in to comment.