blob: dc5185ea3b844ca85a99ab74b04f657ebb4722fe [file] [log] [blame]
Aurimas Liutikas0383fc22016-12-14 19:09:31 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Jack Heda9c1822017-10-23 18:40:33 -07003 ~ Copyright 2016 The Android Open Source Project
Aurimas Liutikas0383fc22016-12-14 19:09:31 -08004 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16-->
17<module name="RegexpHeader">
18 <property name="severity" value="error"/>
19 <message key="header.mismatch"
20 value="Android Copyright header seems to be incorrect. Expected ''{0}'' on this line."/>
Aurimas Liutikasbe4a3ed2017-11-13 18:04:44 +000021 <property name="header" value="^/\*\n \* Copyright (\([Cc]\) )?[0-9]{4} The Android Open Source Project\n \*\n \* Licensed under the Apache License, Version 2\.0 \(the \&quot;License\&quot;\);\n \* you may not use this file except in compliance with the License.\n \* You may obtain a copy of the License at\n \*\n \* http:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0\n \*\n \* Unless required by applicable law or agreed to in writing, software\n \* distributed under the License is distributed on an &quot;AS IS&quot; BASIS,\n \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.\n \* See the License for the specific language governing permissions and\n \* limitations under the License\.\n \*\/" />
Aurimas Liutikas0383fc22016-12-14 19:09:31 -080022</module>