What do ProGuard, Multidex, Resource Merger and Realm have in common? Answer: All of these components owe key functionality to the Android Transform API. It is a centerpiece of the Android Gradle Plugin's internal architecutre, as it is responsible for processing intermediary build artifacts, and before the introduction of D8, it was even tasked with the bytecode transformation of Java 8 code for Android as well. To third-party developers, it offers a hook into the creation of an APK through a centralized concept, the Transform, which can inspect and modify classes or resources. Little documentation and a lack of accessibility to the topic have rendered the Transform API a ""hidden gem"" in the Android plugin infrastructure.
This talk will explore the Transform API, and introduce the required steps to register a custom transformation for a given scope to the audience, in a live coding session.
---------------------------------------------------------------------------------------------------------------
DroidKaigiはエンジニアが主役のAndroidカンファレンスです。
Android技術情報の共有とコミュニケーションを目的に、2019年2月7日(木)、8日(金)の2日間開催します。
DroidKaigi is a conference tailored for Android developers.
It's scheduled to take place on the 7th and 8th of February 2019
DroidKaigi 2019 - https://droidkaigi.jp/2019/
DroidKaigi 2018 - https://droidkaigi.jp/2018/
DroidKaigi 2017 - https://droidkaigi.github.io/2017/
DroidKaigi 2016 - https://droidkaigi.github.io/2016/
DroidKaigi 2015 - https://droidkaigi.github.io/2015/
DroidKaigi Twitter - / droidkaigi