Gradle Articles

Bytecode try-catch Instrumentation for Third-Party Crashes: Precise Containment with hookPoint

When a third-party SDK crash cannot be fixed in source code, bytecode try-catch instrumentation can be a practical containment tool. This article explains a hookPoint-driven design for precise method matching, non-fatal exception capture, reporting, and safety boundaries.

SmartDependency: A Source/AAR Dual-Mode Dependency System for Modular Android Projects

In large Android projects, dependency mode directly affects developer productivity. This article introduces a source/AAR dual-mode dependency system that lets developers open source modules on demand while CI and release builds return to the real binary shape.

How to Analyze a Slow Android Gradle Build

A practical path for analyzing slow Android Gradle builds, including Build Scan, Configuration Cache, KSP, task dependencies, and cache hits.

Android Bytecode Instrumentation with ASM and Gradle Plugins

A full walkthrough of Android compile-time bytecode instrumentation, from Gradle Plugin entry points and ASM visitors to page monitoring, privacy logs, and method timing.

Android Gradle Build Speed: From Configuration Cache to Replacing KAPT with KSP

A systematic Android Gradle build-speed guide covering configuration time, annotation processing, task execution, Configuration Cache, KSP migration, incremental compilation, and build governance.

Android Gradle Version Catalogs and Convention Plugins in Practice

A migration story from buildSrc to Version Catalogs and Convention Plugins in a 30+ module Android project, covering dependency governance, precompiled build logic, and practical pitfalls.

Optimizing the Gradle Build System

For Android developers, especially teams working on large multi-module projects, Gradle build time is often one of the biggest daily productivity bottlenecks.