Android Studio 2.2: Update android gradle plugin to 2.2.2

RESOLVED WONTFIX

Status

()

P2
normal
RESOLVED WONTFIX
2 years ago
a year ago

People

(Reporter: Grisha, Unassigned)

Tracking

(Blocks: 1 bug)

unspecified
Points:
---

Firefox Tracking Flags

(fennec+)

Details

(Reporter)

Description

2 years ago
Now that Android Studio 2.2 is the current stable release version, we need to bump our Gradle plugin version. It uses Gradle 2.14.1, so we should be good on that front (see Bug 1300094).

Note that default ProGuard rules changed in this version, which might or might not affect us. See release notes https://developer.android.com/studio/releases/gradle-plugin.html#revisions and SO bugs e.g. http://stackoverflow.com/questions/39667203/android-gradle-plugin-2-2-0-proguard-began-to-keep-inner-classes
The circle of life :)
(Reporter)

Comment 3

2 years ago
A-S just updated. It is now Android Gradle plugin version 2.2.1.
(Reporter)

Updated

2 years ago
Summary: Android Studio 2.2: Update android gradle plugin to 2.2.0 → Android Studio 2.2: Update android gradle plugin to 2.2.1
(Reporter)

Comment 4

2 years ago
A-S just updated. It is now Android Gradle plugin version 2.2.2.
(Reporter)

Updated

2 years ago
Summary: Android Studio 2.2: Update android gradle plugin to 2.2.1 → Android Studio 2.2: Update android gradle plugin to 2.2.2
(Reporter)

Comment 5

2 years ago
Android Studio updated to 2.3. It seems that we should finally look at upgrading, those "update" prompts are getting annoying.

Bug 1300094 is a decent starting pointed on how to do this. Requesting tracking to get this into triage.
tracking-fennec: --- → ?
Blocks: 1254353
tracking-fennec: ? → +
Priority: -- → P2
This is "easy", providing everything works.  Uploading to tooltool is the frustrating part, but I think it's documented at https://dxr.mozilla.org/mozilla-central/source/build/docs/toolchains.rst#58.  That might be stale now, however...
Per https://github.com/androidannotations/androidannotations/wiki/Building-Project-Gradle, the first version of the Android-Gradle build plugin that supports annotation processors is 2.3.0.  Part of https://bugzilla.mozilla.org/show_bug.cgi?id=1255915#c1 is making the JNI wrapper generation "Gradle friendly".  The long-term approach is to transition to the annotation processing framework, which requires bumping the Android-Gradle build plugin forward.  (The short-term approach might not be to do that work, but instead to figure out how to get Gradle to invoke the annotation processing JAR we currently have with the correct classpath.)
This is superseded by https://bugzilla.mozilla.org/show_bug.cgi?id=1366644.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
No longer blocks: 1254353
You need to log in before you can comment on or make changes to this bug.