diff --git a/build.gradle b/build.gradle index 5a864ca43c2..ce47cc538d6 100644 --- a/build.gradle +++ b/build.gradle @@ -1560,7 +1560,7 @@ project(':test-common') { } checkstyle { - sourceSets = [] + configProperties = checkstyleConfigProperties("import-control-test-common.xml") } javadoc { @@ -1603,7 +1603,7 @@ project(':test-common:test-common-api') { } checkstyle { - sourceSets = [] + configProperties = checkstyleConfigProperties("import-control-test-common-api.xml") } javadoc { diff --git a/checkstyle/import-control-test-common-api.xml b/checkstyle/import-control-test-common-api.xml new file mode 100644 index 00000000000..7331cc2d35e --- /dev/null +++ b/checkstyle/import-control-test-common-api.xml @@ -0,0 +1,26 @@ + + + + + + + + + diff --git a/checkstyle/import-control-test-common.xml b/checkstyle/import-control-test-common.xml new file mode 100644 index 00000000000..015aed73fc7 --- /dev/null +++ b/checkstyle/import-control-test-common.xml @@ -0,0 +1,26 @@ + + + + + + + + +