![]() ![]() ![]() ![]() Gradle allows you to implement your own plugins, so you can reuse your build logic, and share it with others.” “A Gradle plugin packages up reusable pieces of build logic, which can be used across many different projects and builds. ![]() Now, something I haven’t yet touched upon is, what is a plugin? As per the Gradle documentation, a plugin is defined as follows: Because a lot of this information is disseminated among different versions of the documentation, tutorials and personal expertise of people who took time out of their day to help me whenever I met a dead end, I hope that by putting this all in one place I can help those who come after me overcome the initial hurdles and quickly get started in their plugin-building journey. While I am by no means an expert, the following is an attempt to put together a set of minimum instructions needed to create a basic custom Android Gradle plugin with Kotlin. Yet if I will have done my job correctly, by the end of this write-up I will have done my bit to demystify Gradle and tease your curiosity as to the possibility offered by this tool. Gradle is also a big, scary monster that most sane people would prefer to never have to deal with. Gradle is a flexible, powerful tool that - in the right hands - can greatly increase productivity by automating many of the otherwise repetitive manual tasks that developers need to contend with everyday. The introduction of Gradle as the preferred build tool for Android a few years back opened up a lot of possibilities for Android developers to make their build scripts more efficient and capable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |