Gradle Version Conflict

Source: Internet
Author: User

Original link: http://tools.android.com/tech-docs/new-build-system/version-compatibility

"Very good"

Post 1.0 Compatibility
starting with Android Studio 1.0 and the Gradle plugin for Android 1.0, compatibility is a critical requirement.While we is still looking at finalizing we have policy you should at least expect:
Studio 1.xWorks with Gradle Plugin 1.y
Newer versions of the Gradle plugin may require newer versions of Studio to enable the new features in the IDE, BU T the project should open in older versions of Studio, and build from there (since Gradle does the build). We'll be very careful. We'll determine later our compatibility stories between Studio 2.x and Gradle Plugin 1.x and between Studio 1.x and Gr Adle Plugin 2.x We'll make every effort to keep compatibility where possible, and to provide good Quick Assist t o Help with migration where applicable.

Gradle Plugin 1.0.0-1.1.3Works with Gradle 2.2.1-2.3.
It does with Gradle 2.4+
Gradle Plugin 1.2+Works with Gradle [2.2.1, 3.0[
Newer versions of the Plugin may require a newer version of Gradle to benefit from advanced features.
However the current 1.2+ should [2.2.1, 3.0[ (We cannot guaranteed compatibility with 3.x as it may introduce breaking Changes:gradle 1.x-&G T 2.0 introduced Groovy breaking changes)

&NBSP; Android Studio   Android Gradle Plugin < Strong> gradle
 1.0.0 +  1.0.0-1.1.3  2.2.1-2.3
 1.0.0+  1.2+  2.2.1+

Post 1.0 DSL Compatibility

The DSL changed a lot before 1.0, but it should is stable now.

If/when We need to change things we 'll have a long depreca tion periods, likely longer than 6 months, possibly, months.

Preview CompatibilityThis table indicate compatibility for pre-1.0.
All this breaking changes happened because we tweaked the model exchanged between the IDE and Gradle a lot. All the work is to ensure stability after 1.0.
Android Studio Android Gradle Plugin Gradle
1.0.0 rc1-1.0.0 RC 4 0.14.0-1.0.0.rc4+ 2.2, 2.2.1
0.9.0-0.9.3 0.14.0-0.14.4 2.1
0.8.11+ 0.13+, 0.12+ 2.1 (for plugin 0.13, for 0.12 use 1.10-1.12)
0.8.0-0.8.10 0.12+ 1.10-1.12
0.6.0, 0.6.1+ 0.11+ 1.10-1.12
0.5.8-0.5.9 0.9, 0.10 1.10-1.12 (1.12 requires plugin 0.10)
0.5.0-0.5.7 0.9 1.10, 1.11
0.4.3-0.4.6 0.7, 0.8 1.9, 1.10 (required for plugin 0.8)
0.4.0-0.4.2 0.7 1.9
0.3.0-0.3.7 0.6 1.8
0.2.0-0.2.13 0.5 1.7


Gradle Version Conflict

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.