diff --git a/azure-client-authentication/build.gradle b/azure-client-authentication/build.gradle index b56a80eeb3065..75d0404be1f54 100644 --- a/azure-client-authentication/build.gradle +++ b/azure-client-authentication/build.gradle @@ -13,9 +13,9 @@ apply plugin: 'checkstyle' version = '1.0.0-SNAPSHOT' checkstyle { - configFile = new File("$rootDir/Tools/checkstyle/checkstyle.xml") - configProperties = [samedir: "$rootDir/Tools/checkstyle"] - reportsDir = new File("$rootDir/Tools/checkstyle/reports") + configFile = new File("$rootDir/ClientRuntimes/Java/checkstyle/checkstyle.xml") + configProperties = [samedir: "$rootDir/ClientRuntimes/Java/checkstyle"] + reportsDir = new File("$rootDir/ClientRuntimes/Java/checkstyle/reports") } dependencies { diff --git a/azure-client-runtime/build.gradle b/azure-client-runtime/build.gradle index e8a50ca112428..775736ec22dba 100644 --- a/azure-client-runtime/build.gradle +++ b/azure-client-runtime/build.gradle @@ -14,9 +14,9 @@ version = '1.0.0-SNAPSHOT' checkstyle { toolVersion = "6.9" - configFile = new File("$rootDir/Tools/checkstyle/checkstyle.xml") - configProperties = [samedir: "$rootDir/Tools/checkstyle"] - reportsDir = new File("$rootDir/Tools/checkstyle/reports") + configFile = new File("$rootDir/ClientRuntimes/Java/checkstyle/checkstyle.xml") + configProperties = [samedir: "$rootDir/ClientRuntimes/Java/checkstyle"] + reportsDir = new File("$rootDir/ClientRuntimes/Java/checkstyle/reports") } dependencies { diff --git a/checkstyle/checkstyle.xml b/checkstyle/checkstyle.xml new file mode 100644 index 0000000000000..d2b92aa67f9ef --- /dev/null +++ b/checkstyle/checkstyle.xml @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/checkstyle/suppressions.xml b/checkstyle/suppressions.xml new file mode 100644 index 0000000000000..690bb7a9fc35f --- /dev/null +++ b/checkstyle/suppressions.xml @@ -0,0 +1,36 @@ + + + + + + + + + \ No newline at end of file diff --git a/client-runtime/build.gradle b/client-runtime/build.gradle index 2558fc5055f9a..b17a86a50eadf 100644 --- a/client-runtime/build.gradle +++ b/client-runtime/build.gradle @@ -16,9 +16,9 @@ version = '1.0.0-SNAPSHOT' checkstyle { toolVersion = "6.9" - configFile = new File("$rootDir/Tools/checkstyle/checkstyle.xml") - configProperties = [samedir: "$rootDir/Tools/checkstyle"] - reportsDir = new File("$rootDir/Tools/checkstyle/reports") + configFile = new File("$rootDir/ClientRuntimes/Java/checkstyle/checkstyle.xml") + configProperties = [samedir: "$rootDir/ClientRuntimes/Java/checkstyle"] + reportsDir = new File("$rootDir/ClientRuntimes/Java/checkstyle/reports") } dependencies {