jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladimirsitni...@apache.org
Subject [jmeter] branch master updated: Improve repeated checkstyle verifications by caching the state of the verified files
Date Wed, 04 Dec 2019 13:16:18 GMT
This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov 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 447e4ce  Improve repeated checkstyle verifications by caching the state of the verified
files
447e4ce is described below

commit 447e4ce3d44a4fce2d4948ed8777ff2fae5ebddc
Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
AuthorDate: Wed Dec 4 16:15:39 2019 +0300

    Improve repeated checkstyle verifications by caching the state of the verified files
---
 build.gradle.kts                 | 3 +++
 config/checkstyle/checkstyle.xml | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/build.gradle.kts b/build.gradle.kts
index 026d699..aa14346 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -326,6 +326,9 @@ allprojects {
             apply<CheckstylePlugin>()
             checkstyle {
                 toolVersion = "checkstyle".v
+                configProperties = mapOf(
+                    "cache_file" to buildDir.resolve("checkstyle/cacheFile")
+                )
             }
             val sourceSets: SourceSetContainer by project
             if (sourceSets.isNotEmpty()) {
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index 2f96f0c..4ee6914 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -21,6 +21,8 @@
 
 <module name="Checker">
 
+  <property name="cacheFile" value="${cache_file}"/>
+
   <property name="localeLanguage" value="en"/>
   <property name="charset" value="UTF-8"/>
   <property name="severity" value="error"/>


Mime
View raw message