KAFKA-17706 Allow all imports for test-common and test-common-api (#17378)

Reviewers: David Arthur <mumrah@gmail.com>
This commit is contained in:
Chia-Ping Tsai 2024-10-06 14:02:10 +08:00 committed by GitHub
parent 930f165546
commit f1d6549679
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 54 additions and 2 deletions

View File

@ -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 {

View File

@ -0,0 +1,26 @@
<!DOCTYPE import-control PUBLIC
"-//Puppy Crawl//DTD Import Control 1.1//EN"
"http://www.puppycrawl.com/dtds/import_control_1_1.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<import-control pkg="org.apache.kafka">
<allow pkg="java" />
<allow pkg="org" />
<allow pkg="kafka" />
<allow pkg="scala" />
</import-control>

View File

@ -0,0 +1,26 @@
<!DOCTYPE import-control PUBLIC
"-//Puppy Crawl//DTD Import Control 1.1//EN"
"http://www.puppycrawl.com/dtds/import_control_1_1.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<import-control pkg="org.apache.kafka">
<allow pkg="java" />
<allow pkg="org" />
<allow pkg="kafka" />
</import-control>