Groovy, a dynamic JVM language praised for its concise syntax and powerful features like closures, has re‑entered the TIOBE Top 20 thanks to its role in Jenkins and Gradle, offering Java developers a compelling boost to Spring Boot productivity.
Spring Cloud Greenwich.RELEASE is now available via Maven Central, introducing Java 11 compatibility, new projects like Spring Cloud GCP and Kubernetes, while announcing EOL for Edgware and Finchley, moving many Netflix modules into maintenance mode, and providing extensive updates across Sleuth, Config, Vault, OpenFeign, and other components with migration guidance.
This article explains how to replace invasive, manually‑invoked SDKs in Android with a unified, non‑intrusive solution using Aspect‑Oriented Programming, Gradle Transform plugins, and ASM bytecode manipulation, improving control, readability, and performance for large‑scale mobile platforms.
Error Prone is a Google‑released open‑source Java static analysis tool that integrates into build pipelines to catch code defects early, offering non‑intrusive checks, configurable severity levels, and extensibility, making it valuable for Java and Android development.
This article provides a comprehensive overview of Android UiAutomator 2.0, detailing its major features, migration differences from UiAutomator 1.0, important considerations, Gradle integration steps, test case creation and execution, as well as the UiDevice API and new UiObject2 capabilities for mobile UI automation.
This article explains how to use Gradle's productFlavors, flavorDimensions, variant filters, signing configurations, manifest placeholders and source‑set priorities to create flexible multi‑channel Android builds, comparing fast simple packaging with a fully customizable approach and providing command‑line examples.
This guide walks you through Gradle’s core concepts, from installing the tool and initializing a project to creating custom tasks, managing plugins and dependencies, using the Kotlin DSL, and leveraging the Gradle Wrapper for reliable builds across environments.
This article introduces Kotlin as a JVM‑based language, explains why it is chosen for Android development, details its main features such as null safety, data classes, and lambda expressions, compares compilation performance with Java, and provides practical JD‑specific integration steps, configuration tips, common pitfalls, and real‑world usage examples.
The team replaced numerous free‑style Jenkins jobs with a single Pipeline‑as‑code project that pulls a shared script from SCM, uses UI parameters and project‑specific configs to run a standardized Android build flow—including React Native bundle download—providing versioned, maintainable, and visualized multi‑project CI.
The Meituan Android team built an automated, non‑intrusive page‑speed plugin that injects SDK calls at compile time via a Gradle Transform, measures cold‑start, first render, network request and second render for Activities and Fragments—including ViewPager lazy loading—fetches real‑time config from a server and reports metrics to their monitoring platform.
This article explains how to apply modular refactoring—removing unnecessary files, reorganizing packages, degrading monolithic classes, and decoupling components—using tools such as IronBank, BizLifecycle, and AAR‑based platform support to achieve zero‑coupling, easier version management, and faster builds in Android projects.
The article explains how to create, configure, and integrate custom Android Lint rules—using Issue, Detector, Scope, and IssueRegistry APIs—to catch crashes, bugs, performance and security problems such as missing Toast.show() or unsafe Log usage, supports incremental git‑based scans, and demonstrates deployment in IDE, builds, pre‑commit hooks and CI for improved code quality.
This guide walks through creating a Jenkins job to pull Android source code from Git, configure Gradle invocation, add FIR.IM QR‑code generation, troubleshoot common SDK environment issues, and update Android SDK and build‑tools via command‑line steps.
This step‑by‑step guide shows how to create a simple Spring Boot application, configure Gradle or Maven builds, write MockMvc tests, and use Spring REST Docs to automatically generate up‑to‑date API documentation snippets that can be included in Asciidoctor‑based docs.
Facing duplicated codebases as Meituan Waimai expanded from a single app to multiple channels, the team iteratively tried split libraries, componentization, and MVP layers before settling on a three‑layer platform architecture—platform, business, and host—isolated via Gradle projects, product flavors, and tooling to achieve sustainable, cross‑product code reuse.
This article explains how the two essential Gradle plugins—replugin-host-gradle and replugin-plugin-gradle—generate configuration files, inject AndroidManifest components, create built‑in plugin descriptors, and use Transform API to modify bytecode, enabling seamless plugin development and integration in Android projects.
Through a series of Gradle‑based benchmarks on clean, daemon‑enabled, and incremental builds, this study compares Java and Kotlin compilation times, revealing that while Java is slightly faster on cold builds, Kotlin matches or exceeds Java in typical incremental scenarios.
The article explains how the Aura framework handles plugin compilation and packaging by managing shared resources through public.xml, assigning unique package IDs, and offering two solutions—modifying AAPT and using the Gradle aura‑plugin—to achieve small, independent Android plugin bundles.
The article outlines a comprehensive set of APK‑slimming techniques for the iQIYI Android client—including pluginization, 7‑ZIP recompression, apksigner signing, duplicate‑resource removal, PNG/WebP conversion, library trimming, code obfuscation, R‑class elimination, language‑config pruning and native‑ABI reduction—that together cut the package from 54.2 MB to 28.2 MB.
This guide shows how to configure a Spring Boot multi‑module project using Gradle 3.3 to run SonarQube 5.6.6 analysis by adding the SonarQube plugin, setting repository and classpath, defining sonar properties, and executing the analysis with a simple Gradle command.
This article chronicles the evolution of WeChat's Android architecture from a simple layered design through multi‑process and modular restructurings, explains why a major refactor was needed, and details the new communication, module, and code‑boundary strategies that enable faster development, better isolation, and a lightweight WeChat nano demo.
The article analyzes the challenges of tightly coupled modules in rapidly growing projects, proposes a Router model that encapsulates and distributes inter‑module calls, discusses its core concepts, implementation options, and extensions such as interceptors, and shares practical lessons learned after two years of use.
The article explains Android’s APK Signature Scheme v2—introduced in Android Studio 2.2—its performance and integrity benefits over v1, details the signing block structure and verification steps, and demonstrates how to embed and retrieve custom channel data within the v2 block while preserving successful verification.
This article explains various multi‑channel packaging methods for Android APKs, compares traditional Gradle productFlavors and ApkTool approaches, and introduces efficient V1‑ and V2‑based channel insertion techniques that avoid rebuilding or re‑signing, while providing integration steps for the ApkChannelPackage plugin.
By exploiting the unprotected portion of Android’s APK Signature Scheme v2 signing block, the article introduces a fast, secure channel‑package generation technique—implemented in the open‑source Walle tool—that embeds custom IDs without re‑signing, enabling thousands of channels to be added in milliseconds per APK.
This article explains how Groovy parses Android-specific DSL in Gradle build files, covering DSL benefits, command chains, operator overloading, delegate mechanisms, and step‑by‑step execution of buildscript, repositories, dependencies, and tasks to help developers customize their Android build process.
To shrink the QQ Music Android APK, the team replaced manual image compression with a multithreaded pngquant workflow that compresses PNGs at 90 % quality, integrates into the RDM build, cuts the res directory by 1.97 MB and the overall package by 2.22 MB, delivering faster, maintainable builds.
This article provides a comprehensive guide to Android app compilation, detailing the step‑by‑step build process, the use of Ant and Gradle tools, configuration of build.xml and build.gradle files, and essential settings such as obfuscation, signing, multidex, and code coverage to streamline CI pipelines.
Android Studio 2.2 introduces official native development support with CMake and ndk‑build integration, Gradle‑packaged .so libraries, LLDB hybrid debugging, enhanced C/C++ editing, easy linking of existing native code via IDE or build.gradle, new externalNativeBuild and abiFilters settings, and a concise CMake workflow.
This guide walks you through configuring Jenkins on a CentOS 6.3 server to automatically compile Android projects from a GitLab repository, covering environment preparation, Jenkins installation, job creation, Gradle integration, and troubleshooting common issues such as SDK updates, permission errors, and memory limits.
The article walks through Android Gradle’s three‑phase build cycle, explains how VariantManager, TaskManager and AndroidBuilder create and configure tasks, then dives into the class‑to‑dex conversion process, detailing common multi‑dex limits, troubleshooting steps, and custom Gradle tasks that shrink keep lists and analyze dependencies to avoid build failures.
This tutorial walks through configuring Redis for Tomcat session sharing on Windows, covering environment setup, Gradle compilation of the tomcat-redis-session-manager plugin, jar deployment, context.xml configuration, and verification of shared session IDs across multiple Tomcat instances.
This article explains how to configure Android Studio for Robotium testing, create and run test cases, and integrate automated tests into a Gradle‑based continuous integration pipeline using Jenkins.
This article walks through the evolution from Ant to Maven to Gradle for Android projects, explains Gradle's project structure, key concepts like repositories, source sets, properties, tasks, shows how to publish artifacts, create and use plugins, and offers tips to speed up Gradle builds.
This article explains why INSTALL_FAILED_DEXOPT occurs on Android versions below 3.0, details Google’s official multidex solution, and presents a custom automatic dex‑splitting and dynamic loading approach that overcomes method‑count and LinearAlloc limits while maintaining app performance.