| <!-- |
| ~ Copyright (C) 2015 The Android Open Source Project |
| ~ |
| ~ Licensed 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. |
| --> |
| <compatibility version="1" schemaVersion="1"> |
| <check failureType="error"> |
| <!-- 2.4+ can also be written as [2.4, +) --> |
| <component name="gradle" version="2.4+"> |
| <requires name="android-gradle-plugin" version="[1.2.0, +)"> |
| <failureMsg> |
| <![CDATA[ |
| Please use Android Gradle plugin 1.2.0 or newer. |
| ]]> |
| </failureMsg> |
| </requires> |
| </component> |
| </check> |
| |
| <!-- |
| This is an example that verifies that if a module is using Build Tools 23, the Android Gradle project has to be 1.3 or newer. |
| This check is not needed anymore. Keeping it to document how to use "buildFile:" notation to read elements from a build.gradle file. |
| |
| <check failureType="warning"> |
| <component name="buildFile:android/buildToolsVersion" version="[23, +)"> |
| <requires name="android-gradle-plugin" version="[1.3.0, +)"> |
| <failureMsg> |
| <![CDATA[ |
| The project will not build.\n |
| Please use Android Gradle plugin 1.3.0 or newer. |
| ]]> |
| </failureMsg> |
| </requires> |
| </component> |
| </check> |
| --> |
| </compatibility> |