This article is mainly to learn the Java Gradle plug-in related knowledge, because Java Gradle plug-in related content is the basis of Android Gradle plug-in....
RollingTextView features simple to use, the API is similar to TextView, setText method can be set up with a scroll animation support XML android: textSize/android:...
Gradle plugins are built with many common plugins. Gradle plugins can help us improve development efficiency in certain scenarios. We can extend existing plugins to...
The fragment in the activity is NavHostFragment by default. NavHostFragment is associated with the navigation editor by navGraph. We see through the Navigation. FindNavController (view)...
You can directly clone EasyGradle project, the app/build. The implementation in the gradle 'com. Android. View the build: gradle: 3.0.1' annotation to open. Basic use...
If you use custom plug-ins, you may encounter a compilation failure or a similar compilation error after upgrading the IDE. You can follow the following...
FlavorDimensions and productFlavors are two flavors that come together in pairs and can be divided into different flavors. It should be noted in advance that...
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...
I have written several articles about Gradle. This article is the conclusion of the series. Compared to Android developers, including me at the very beginning,...
Environment Switcher is a one-click Environment Switcher using Java annotations, APT, reflection, obfuscation, etc. It's been a week since Environment Switcher was officially released, and...
Gradle's own domain objects are projects and tasks. Projects provide execution context for tasks, and all plugins either add properties for configuration or different tasks...
Because in Settings. Gradle file configuration Method, from the output Method is involved in the building, cancel the Settings. The gradle file configuration, does not...