Plug-ins: The things that define and concretely execute these tasks. Apply is a function that loads packaged plug-ins or other Gradle files. Maven-publish is a...
After the project is connected to Kotlin, multiple GradlePlugins throw exceptions when processing classes, including the asm or Javassist library. The exception information is as...
Gradle is an open source build automation tool that focuses on flexibility and performance. Build scripts are typically written in Groovy or KotlinDSL. This article...
When the project develops to a certain stage, with the increase of requirements and frequent changes, the project will become bigger and bigger, the code...
The advantage of configuring App signature information is to prevent the App from being maliciously tampered. Signature ensures the uniqueness of the App and only...
Small knowledge, big challenge! This article is participating in the creation activity of "Essential Tips for Programmers". Gradle options Build variants of "Product Options Build...
Groovy, Java, and Kotlin can all be written in standalone projects as languages to implement plug-ins, and in this article's examples, Groovy is used as...
In the past, I also thought of setting up a remote repository for dependency and accessing it directly through Gradle. After a research, the mainstream...
In the componentized mode, each business department is an independent Module, and the project is an independent APP when it is independently developed. When it...
Through the Build Variant capability provided by AGP, we can package individual projects into different APKs or AArs. Build Variant relies on attributes and provided...
As an Android developer, when your projects and code reach a certain size, you will probably encounter problems with slow compilations. For example, time is...
After introducing the background and original intention, we started to build the FRAMEWORK of MVVM. In this part, we carried out simple construction to understand...
When programming, we often encounter a lot of non-programming project management work. Such as downloading dependencies, compiling source code, unit testing, project deployment, and so...
Following the previous blog post about the implications of configurable parameters in defaultConfig, today we'll share another familiar buildTypes. BuildTypes also exists under Android in...
How to display dependency diagrams for Android projects in your GitHub README file. However, this script involves converting dot files to PNG files, so you'll...
To create a Gradle plug-in, you need to write an implementation Plugin interface. When a plug-in is applied to a project, Gradle creates an instance...
Gradle life cycle Gradle builds through different stages, each of which does different things. Gradle life cycle as shown in the figure, there are three...
From the last section on Gradle configuration and build optimization in Android, we have already understood the meaning of the various configuration items of Gradle,...