This is an automated email from the ASF dual-hosted git repository.
fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 6196e40 Fixed the deprecation warnings in build file
6196e40 is described below
commit 6196e403091c2d9cf2f7d1ea6aa1610efab73e37
Author: Sampath Kumar Krishnasamy <[email protected]>
AuthorDate: Thu Jan 13 18:14:26 2022 +0000
Fixed the deprecation warnings in build file
Closes #692
---
build.gradle.kts | 6 +++---
xdocs/changes.xml | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/build.gradle.kts b/build.gradle.kts
index 19944b7..97eccfa 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -207,7 +207,7 @@ fun SonarQubeProperties.add(name: String, valueProvider: ()
-> String) {
}
if (jacocoEnabled) {
- val mergedCoverage = jacocoReport.get().reports.xml.destination.toString()
+ val mergedCoverage =
jacocoReport.get().reports.xml.outputLocation.toString()
// For every module we pass merged coverage report
// That enables to see ":src:core" lines covered even in case they are
covered from
@@ -493,8 +493,8 @@ allprojects {
tasks.withType<JacocoReport>().configureEach {
reports {
- html.isEnabled = reportsForHumans()
- xml.isEnabled = !reportsForHumans()
+ html.required.set(reportsForHumans())
+ xml.required.set(!reportsForHumans())
}
}
// Add each project to combined report
diff --git a/xdocs/changes.xml b/xdocs/changes.xml
index e45c4af..3877b55 100644
--- a/xdocs/changes.xml
+++ b/xdocs/changes.xml
@@ -196,6 +196,7 @@ however, the profile can't be updated while the test is
running.
<li>Updated Gradle to 7.3 (from 7.2)</li>
<li><pr>689</pr>Code clean up in StringFromFile. Contributed by Sampath
Kumar Krishnasamy (sampathkumar.krishnasamykuppusamy at aexp.com)</li>
<li><pr>690</pr>Refactor a few unit tests. Contributed by Sampath Kumar
Krishnasamy (sampathkumar.krishnasamykuppusamy at aexp.com)</li>
+ <li><pr>692></pr>Fix a few deprecation warnings for Gradle. Contributed by
Sampath Kumar Krishnasamy (sampathkumar.krishnasamykuppusamy at aexp.com)</li>
</ul>
<!-- =================== Bug fixes =================== -->