This article explains how Spring Boot achieves dependency version convergence through BOM (spring-boot-dependencies), details starter aggregation mechanics, and outlines four version override methods with priority rules, Maven arbitration behavior, conflict troubleshooting via dependency:tree, and risks of overriding tested version combinations.
JD engineers detail their migration from monolithic KMP delivery to per-component builds for iOS and HarmonyOS, sharing a stdlib/runtime carrier, fixing bridge numbering mismatches and type ID issues in the KN compiler, implementing custom Gradle plugins and CI/CD for independent XCFramework/HAR publishing, enabling on-demand integration and faster builds.
Tencent Music open-sources Jugg, an Android incremental build tool that achieves sub-3-second iteration by bypassing Gradle's fixed overhead via a sidecar compilation pipeline, using custom AAPT2 incremental linking, bytecode-level impact propagation, and JVMTI-based hot reload with hot-fix fallback, validated across 800k production builds.
Guava, Google’s core Java library, offers a rich set of utilities—immutable collections, null‑safe string handling, local caches, and concurrency helpers—that reduce boilerplate, prevent bugs, and integrate with a single Maven/Gradle dependency, making it a popular choice for modern Java backend development.
The article explains how Hutool 5 consolidates common Java utilities—such as string handling, date formatting, file I/O, HTTP requests, and cryptography—into concise, ready‑to‑use methods, reducing boilerplate code, simplifying project setup, and improving maintainability.
The article explains how Amper has been integrated into the Kotlin Toolchain as an Alpha feature, replacing its commands with a unified kotlin CLI, adding Maven publishing, C‑interop improvements, and IDE‑CLI consistency, and discusses the implications for Gradle’s role in Kotlin projects.
This guide explains how to integrate JaCoCo into SpringBoot projects using Maven or Gradle, generate detailed HTML and XML coverage reports, interpret line, branch, and method metrics, exclude irrelevant code, set coverage thresholds, and address common pitfalls to ensure thorough testing of critical business logic.
Kotlin 2.3.20, released on March 16, introduces name‑based destructuring, improved C/Objective‑C interop for Kotlin Native, Kotlin/JS interface support, Maven and Gradle enhancements, new compiler annotations, and experimental features like a Lombok plugin and Map.Entry.copy() for safer collections.
This article walks through converting a Maven‑based Java Spring Boot project (mall‑tiny) to Gradle, explains Gradle's key features and plugins, provides step‑by‑step setup with screenshots, shows the full build.gradle file, and compares build times to demonstrate Gradle's speed advantage.
This article walks through converting a SpringBoot Maven project (mall‑tiny) to Gradle, explains Gradle’s key features and plugins, shows step‑by‑step setup, demonstrates dependency migration, compares build times with Maven, and provides a complete Gradle build script with reference links.
Spring Boot packages all dependencies and an embedded web server into a single executable JAR, allowing developers to launch the application with a simple "java -jar" command without external configuration or server deployment.
This guide walks through upgrading a Spring Boot 3.x project to 4.0, covering Gradle version bump, dependency version catalog updates, modular starter changes, the breaking Jackson 3 package rename, Redisson API adjustments, verification steps, and best‑practice upgrade path to avoid common pitfalls.
Upgrading an old Android project to meet Google Play's new targetSdk 35 requirement involves moving to AGP 8, Gradle 8, and JDK 17, updating namespace, enabling BuildConfig, fixing non‑final resource IDs, and applying JVM arguments to keep ButterKnife functional despite its deprecation.
This tutorial walks you through preparing the Java development environment, adding smart-socket Maven or Gradle dependencies, implementing a simple string‑based server and client with AIO, running both components, and observing the expected console output to understand the framework's basic communication workflow.
This article explains why Gradle has become the de‑facto build tool for modern Java/Kotlin projects, showcases prominent projects that use it, compares core differences with Maven, outlines Gradle’s underlying principles, and provides a step‑by‑step learning roadmap for developers transitioning from Maven.
This article explores the challenges of traditional Android APM integration and presents a comprehensive, non‑intrusive bytecode instrumentation approach—using Gradle plugins, AGP APIs, and ASM—to automatically collect user behavior, network, performance, crash, and WebView data without modifying application source code.
This guide explains how to install jEnv, add and configure multiple JDK versions, set global and local JDKs per project, and integrate the tool with Maven and Gradle to ensure the correct Java version is used across diverse development environments.
This article explains how Java developers can use ArchUnit to automatically import and analyze compiled classes, define custom architectural rules, enforce package naming conventions, prevent cyclic dependencies, and integrate the library with Maven or Gradle builds to maintain a clean, layered backend architecture.
The article introduces IntelliJ IDEA 2025.1 EAP's early‑access highlights, including preliminary Java 24 support, streamlined Spring Bean generation, enhanced Gradle Daemon toolchain integration, customizable debugger toolbar, and richer inline hint pop‑ups, while also pointing to related Spring Boot and cloud project resources.
FastExcel, a Java‑based open‑source library announced after EasyExcel's discontinuation, offers fast, memory‑efficient Excel read/write, full compatibility with EasyExcel, simple APIs, MIT licensing for commercial use, easy Maven/Gradle integration, and clear code examples that have already attracted over 2,000 GitHub stars.
FastExcel, the newly renamed successor to EasyExcel, offers high‑performance Excel read/write, full compatibility, new features like row‑specific reading and PDF conversion, and provides detailed migration instructions with Maven/Gradle dependencies and code examples for Java developers.
The article announces the rebranding of EasyExcel‑Plus to FastExcel, outlines its high‑performance features, provides migration instructions and code samples for Maven and Gradle, and additionally promotes a ChatGPT community and related services.
The article announces EasyExcel's shift to maintenance mode, introduces its successor FastExcel with high‑performance features, and provides detailed migration steps, dependency configurations, and code examples for reading and writing Excel files in Java.
This article details the creation of a Japanese language analysis tool using Java, Kotlin, Spring Boot, and Gradle, explaining the multi‑module project structure, parent and child Gradle configurations, integration of Swing UI with an embedded Chromium engine, and practical tips for mixing Java and Kotlin code.
This article explains how to create a custom insert annotation and an annotation processor in Java to automatically inject the jar version into component constants at compile time, enabling Prometheus monitoring without manual version updates.
This article explains the fundamentals of continuous integration and continuous deployment, introduces GitHub Actions as a CI/CD platform, and provides a step‑by‑step guide with sample workflow files and code snippets for automating Android builds, testing, and releases.
This article compares Maven and Gradle, outlining their core concepts, build performance, flexibility, learning curve, and stability to help Java developers choose the most suitable build tool for their projects.
The article compares Maven and Gradle, detailing their histories, core concepts, advantages, disadvantages, and performance differences, and offers practical advice for Java developers on choosing the most suitable build tool for their projects.
This article details a three‑month, multi‑step migration of a large Android monorepo from AGP 7.2.2 to 8.2.2, covering Transform API deprecation, namespace handling, Gradle and JDK upgrades, build‑feature toggles, third‑party library adaptations, performance optimizations, and the troubleshooting of numerous compilation pitfalls.
The June 2024 VS Code for Java update introduces enhanced project settings with new compiler, Maven, and formatter tabs, easier access via the status bar, test coverage improvements, Gradle Build Server projects, Spring feature upgrades including @DependsOn support and Spring Boot 3.3 compatibility, and new extension packs for Java development.
This article explains how to create a custom compile‑time annotation processor that automatically injects the current JAR version into Java component constants, eliminating manual updates and enabling Prometheus monitoring of version usage across internal libraries.
This article explains how to create a compile‑time annotation processor that automatically injects the JAR version into a static constant, enabling Prometheus to monitor version usage without manual updates, and demonstrates the implementation with Lombok‑style code examples.
The article examines Kotlin Multiplatform’s language design, its three dedicated compilers, artifact structure, and plugin ecosystem, critiques Gradle’s build‑system shortcomings, and details the team’s Bazel migration that delivers faster incremental builds while highlighting trade‑offs and future improvements for Kotlin‑Native, JS inter‑op, and tooling.
This article demonstrates how to create a custom compile‑time annotation processor that automatically injects the JAR version into Java constants, enabling Prometheus monitoring of component versions without manual updates, and walks through the full implementation, registration, and testing steps.
The article analyzes why KAPT consumes 82% of Android‑Kotlin build time and presents three optimization strategies—enabling KAPT incremental compilation, migrating to the faster KSP processor, and creating an Android Studio plugin that generates code at development time—detailing their implementation steps, performance gains, and trade‑offs.
This article demonstrates how to create a custom insertable annotation processor in Java that automatically injects the jar version into component constants at compile time, enabling Prometheus monitoring of version usage without manual updates.
This article explains how to create a custom insertable annotation processor in Java that automatically injects the jar version into component constants during the Gradle build, eliminating manual updates and enabling version monitoring via Prometheus.
This article demonstrates how to create a compile‑time insertion annotation processor in Java that automatically injects the current jar version into static constants of shared components, eliminating manual updates and enabling Prometheus monitoring of version usage across the organization.
This guide explains how Spring Boot 3.3.0 natively supports Software Bill‑of‑Materials (SBOM) generation with CycloneDX, shows Gradle and Maven configuration steps, demonstrates building an uber‑jar that includes the SBOM, and details how to expose the SBOM via Actuator endpoints and customize formats.
This article explains how Android's resources.arsc file is generated, identifies duplication and size issues in multi‑module projects, and presents a Gradle‑based solution that inserts a custom task after processReleaseResources to deduplicate resources and compress images, reducing the final APK size.
This article introduces Kotlin Multiplatform (KMP), explains its core concepts and advantages, walks through a simple demo project with code snippets and build configurations, and discusses the underlying compilation process, Compose UI sharing, ecosystem libraries, and real‑world industry adoption.
This article demonstrates how to replace duplicated Gradle build scripts across multiple modules in a Kotlin Multiplatform Android project by creating custom convention plugins, leveraging Version Catalogs and the NowInAndroid example to centralize configuration, simplify third‑party plugin setup, and improve IDE assistance.
This article demonstrates how to create a custom insertable annotation processor in Java to automatically inject the jar version into component constants at compile time, eliminating manual updates and enabling Prometheus monitoring of library usage across versions.
This article explains how to identify Jetifier warnings during Android compilation, why disabling Jetifier can break functionality, the limitations of the built‑in checkJetifier task, and presents a comprehensive solution using Gradle scripts, jetifier‑standalone, and custom tasks to migrate third‑party libraries to AndroidX while keeping build times low.
This article presents several practical Android development techniques, including using stack traces to differentiate Android 10 and Android 12 versions, a unique method for setting button spacing via custom XML backgrounds, leveraging logcat to identify launched Activity classes, and configuring Gradle to share local installations for faster project setup.
mica-auto is a Spring Boot starter tool that uses annotation processing to automatically generate configuration files such as spring.factories, AutoConfiguration.imports, and spring-devtools.properties, supporting Kotlin meta‑annotations and Java SPI, with Maven and Gradle integration instructions and version compatibility details.
This article details a deep dive into Android Gradle build bottlenecks, analyzes the heavy Transform and dexMerge stages, and presents practical incremental build and hot‑update strategies—including code hooks, bucket handling, and dex reordering—that reduce typical build times from dozens of seconds to just a few.
This comprehensive guide walks through Gradle fundamentals—including the initialization, configuration, and execution phases—explains task creation, ordering, and incremental builds, demonstrates custom tasks and small examples, and shows three ways to build and publish Gradle plugins with ASM bytecode instrumentation for Android projects.
This article details the systematic reduction of the JD Finance Android app's APK size from 117 MB to 74 MB between 2019 and 2022, covering background analysis, APK and SDK component breakdown, a series of optimization techniques—including image processing, resource inlining, compression tools, dynamic SO loading, and pluginization—plus governance, results, and future plans.
DeWu reduces its APK size by removing unused plugin resources, compressing images with WebP, Guetzli, PNGQuant and Gifsicle, deduplicating and obfuscating ARSC entries, applying 7‑zip compression, delivering large assets dynamically, and continuously cleaning unused resources through compile‑time checks and runtime scanning.
This article provides a comprehensive comparison of Bazel and Gradle build systems, examining their design philosophies, concurrency, incremental compilation, configuration phases, performance benchmarks, and ecosystem support, particularly in the context of large‑scale Android monorepo projects, to help developers choose the appropriate tool.
The article demonstrates a systematic approach to speeding up large Android Gradle builds by inspecting logs, stack traces, debugging plugins, profiling task execution with a custom plugin, and applying on‑demand configuration, caching, incremental and parallel compilation settings, which together cut build time by roughly 40 %.
This article describes how Ctrip's Train Ticket Android project reduced its clean Gradle build time by more than half using a module‑AAR approach, custom dependency substitution, Maven publishing, and automated tooling, while detailing the challenges, code changes, and performance results.
This article provides a comprehensive guide to Kotlin Multiplatform Mobile (KMM), covering its concepts, advantages over other cross‑platform frameworks, detailed setup steps, project structure, Gradle configuration, code examples for shared and platform‑specific modules, and an in‑depth explanation of the Android and iOS compilation pipelines.
By adopting a unified architecture and a pre‑compilation strategy that leverages CI, git‑diff module detection, version‑managed manifests, and platform‑specific build tools, Tencent Meeting cut its C++ cross‑platform compile times from minutes to seconds, achieving up to 99 % speedup across Windows, Android, iOS and macOS.
Facing rapid growth of its Android app size beyond 117 MB, JD Finance implemented a comprehensive APK slimming project in 2022, analyzing APK components, SDKs, and ZIP structure, then applying image optimization, R‑file inlining, resource obfuscation, dynamic SO loading, and build‑time configurations to reduce the package to 74 MB and improve download conversion rates.
The ModularDevTool, a shell‑script and Gradle‑plugin solution, centralizes sub‑repository management, enables one‑click switching between code and Maven dependencies, automates version handling and CI publishing, and thus streamlines Android client modular development while cutting manual effort and code conflicts by over half.
This article presents a comprehensive approach to building an Android code impact analysis tool that leverages Git diff to locate modified lines, employs ASM-based class and method visitors to construct upward and downward call chains, extracts Javadoc and custom tags, and visualizes the results for developers and testers.
Apache NetBeans 16 introduces extensive updates—including enhanced YAML and Dockerfile support, improved Maven and Gradle integration, Java 19 features, and numerous bug fixes—making it a more powerful free IDE for Java and other language development.
This article details JD's Android app package‑size reduction journey, covering component analysis with APK Analyzer and zipinfo, dependency mapping via Gradle, a suite of slimming measures such as plugin‑to‑download, resource compression, R8, 7‑zip, and a systematic governance framework that ties component growth to enforceable size‑control policies, ultimately achieving over 30% reduction in APK size.
This article outlines the background, technical analysis, and step‑by‑step practical migration of multiple Fluently Speaking Android applications to Android 12, covering environment upgrades, Gradle and JDK changes, CI/CD runner configuration, API adjustments, UI updates, and future outlook.
The article explains Gradle's dependency‑graph symbols—arrow (→) for version conflicts, (c) for constraint‑driven versions, (*) for omitted subtrees, and markers for strict or forced versions—showing how to read the output, identify conflicts, and apply proper resolution strategies.
Bilibili's cloud‑based Android build system leverages high‑performance remote servers, Dockerized build images, Git diff synchronization, and distributed compilation of heavy tasks like DexBuild to dramatically accelerate builds for its massive monorepo, providing parallelism and VIP priority while incurring a learning curve and added maintenance costs.
This article details Baidu's systematic approach to reducing Android APK size by analyzing Dex annotation types, defining removal targets, implementing a Titan‑Dex based optimizer, and automating detection and whitelist management with custom Lint rules, ultimately saving about 1.2 MB of Dex bytecode.
This article details NetEase Yanxuan's Android team transition to a component‑based architecture, identifies inherent problems such as version control, quality assurance, semantic versioning and binary compatibility, and presents the YAC engineering solution—including standardized processes, Gradle plugins, CI/CD pipelines, and tooling—to streamline component development and improve productivity.
This article explains why the Kotlin Android Extensions plugin is deprecated, outlines migration strategies for legacy code, introduces the open‑source Kace framework as a seamless replacement, and provides detailed setup, code generation, performance optimizations, and incremental compilation techniques for Android projects.
This article explains Gradle's domain‑specific language (DSL), compares Groovy and Kotlin DSL syntax, and introduces Groovy closures with practical code examples, helping developers grasp build script fundamentals and migrate between Groovy and Kotlin Gradle scripts.
This article explains why monolithic Android projects suffer from long compile times, high coupling, and merge conflicts, and demonstrates how componentization—using a four‑layer architecture, unified Gradle dependencies, plugin switching, code isolation, ARouter routing, decentralized APIs, and AndroidX App Startup initialization—can solve these problems with concrete Kotlin and XML examples.
This article explains the importance of mastering Gradle for Android development, describes what Gradle and build tools are, outlines its historical evolution and key characteristics, and provides a practical learning path with resources and future topics such as tasks, lifecycle, dependency management, and plugin development.
The B‑Cut video‑editing app was transformed from a monolithic single‑project codebase into a component‑based modular architecture—introducing clear layers, Gradle‑driven unified configuration, independent library/application modules, strict dependency and resource conventions, and a fast‑compile system—thereby cutting build times, eliminating merge conflicts, and enabling reusable components across teams.
This article explains how to build a highly extensible modular backend service using Spring Cloud Gateway, Gradle scripts, and service‑discovery metadata to automatically generate and refresh routing configurations for both monolithic and microservice deployment modes.
This article explains the Java Service Provider Interface (SPI) mechanism, its core principles of decoupling and dynamic loading, walks through the ServiceLoader source code, and demonstrates how to apply SPI in both web and Android projects with Gradle configurations and sample modules.
This article introduces Gradle as a modern Java build tool, covering its installation methods, wrapper usage in IDEs, concise dependency configuration, task and plugin flexibility, mirror and proxy setup, and the performance and usability benefits compared to Maven.
This article investigates why upgrading the Feishu Android project's CI build environment from JDK 8 to JDK 11 caused a 50% increase in build time, analyzes JVM, Gradle, and Docker interactions, and presents concrete JVM flag and environment‑variable solutions that restored parallelism and reduced build duration back to pre‑upgrade levels.
This article explains how to build a high‑precision Android startup performance pipeline by selecting the right tracing tool, extending Perfetto with custom Gradle instrumentation, handling edge‑case trace mismatches, and using Trace Processor’s Python API for automated wall‑time and CPU‑time regression detection.
This guide walks you through creating XEChat‑Idea, a Netty‑based instant messaging and game‑battle plugin for IntelliJ IDEA, covering project structure, environment setup, build commands, server deployment, plugin configuration, packaging, and installation steps.
By disabling Jetifier through a custom Gradle plugin, fully migrating all Support libraries to AndroidX, and adding CI guardrails to block legacy dependencies, the team cut Android Studio sync time by roughly two and a half minutes and improved incremental build speed by 28% without sacrificing build stability.
This article introduces XEChat‑Idea, a Netty‑based instant messaging and game‑battle plugin for IntelliJ IDEA, detailing its features, project structure, required environment, step‑by‑step build, run and deployment instructions for both the server and the IDEA plugin, and how to install it locally.
The article details Baidu App’s third‑stage Android APK size reduction, explaining the res/ and assets structure, reviewing AGP’s OptimizeResources, ShrinkResources and new flags, and describing a custom AAPT2‑based tool that shortens paths and filenames, removes extensions, collapses names, uses sparse encoding, integrates third‑party guards and image‑compression techniques to significantly shrink the package.
This article explains the shortcomings of Maven, shows how to install Gradle (including package‑manager and wrapper methods), demonstrates Gradle wrapper usage in IDEA, compares dependency scopes, outlines task and plugin customization, provides mirror and proxy configuration, and lists the speed, flexibility and conciseness advantages that make Gradle a superior build tool for Java projects.
Gradle offers a modern, flexible alternative to Maven for Java projects, with faster builds, concise Groovy scripts, powerful dependency scopes, easy installation via binaries, package managers, or the Gradle Wrapper, plus configurable mirrors and proxy settings, making it ideal for backend development workflows.
Gradle offers a faster, more flexible alternative to Maven for Java projects, with simple installation options, wrapper support, concise dependency syntax, powerful task scripting, easy mirror configuration, and superior performance, making it essential for modern backend development.
This article explains why the Transform API is deprecated in AGP 7.0, introduces the new AsmClassVisitorFactory‑based API, compares code examples, discusses performance benefits and drawbacks, and provides guidance for migrating Android Gradle plugins to the newer variant and artifact system.
Zhang Yang explains how Bilibili’s massive Android monorepo was accelerated by a fast‑build Gradle plugin that replaces unchanged modules with cached AARs versioned by Git SHA, validates them with an R8‑based A8 check, and leverages cloud compilation and independent build units, cutting full builds from ~30 minutes to under 6 minutes locally and about 3 minutes in the cloud.
This article compiles a comprehensive list of Groovy-related tutorials and articles covering Java‑Groovy integration, scripting, Gradle builds, JMeter extensions, operator overloading, closures, reflection, and other advanced language features for developers seeking practical guidance.
This article examines Spring Boot 3’s migration to Java 17, the adoption of Spring 6, updated Maven and Gradle versions, the move to Jakarta EE 9, removal of legacy components, and practical advice on when and how to upgrade your backend applications.
This article explains how a custom incremental Proguard solution for Android Gradle builds reduces the Proguard stage from dozens of minutes to around eight minutes by hashing class nodes, calculating diffs, correcting bytecode, and updating mappings, resulting in stable, fast release builds.
An in‑depth comparison of Maven, Gradle, and the Maven Daemon (mvnd) examines their features, configuration differences, and real‑world build performance on Spring Boot projects, revealing that Gradle delivers the fastest packaging times while offering simpler, more readable build scripts.
This guide explains why Android apps must adopt 64‑bit architectures, outlines market mandates, describes the ABI landscape, shows how to detect missing 64‑bit native libraries with Gradle scripts or the EasyPrivacy plugin, and provides step‑by‑step instructions for updating build configurations, testing, and publishing compliant APKs or App Bundles.
This article details the evolution of JD.com’s HarmonyOS app from a monolithic project to a modular componentized architecture, describing the existing structure, encountered build and resource issues, the Android plugin reference solution, the proposed HarmonyOS componentization scheme, implementation steps, and release packaging.
This article investigates why large Android projects experience extremely slow AAR publishing, reveals that memory is not the main bottleneck, examines Gradle’s core scheduling, Worker API, lock contention, and measurement inaccuracies, and proposes disabling Worker API to achieve up to fifteen‑fold build speed improvements.
This article explains how to dynamically configure mPaaS for Android projects with multiple build variants by using Gradle scripts to switch .config files based on the current flavor, including code snippets for deleting old configs, copying new ones, and retrieving flavor and applicationId information.
mvnd, an Apache Maven subproject built on Gradle and Takari, extends Maven to dramatically speed up builds—up to 300% faster in multi‑module projects—while offering simple installation, environment configuration, and seamless migration from existing Maven settings, making it a powerful tool for developers seeking faster builds.
This article introduces the fundamentals of Gradle as a universal build automation tool and explains how the Android Gradle Plugin integrates with it, covering project structure, build files, tasks, the three build lifecycle phases, DSL syntax, and provides example Groovy/Kotlin scripts for configuring Android applications.
Facing build times of up to 35 minutes for Android release packages, Youku’s engineering team applied data‑driven metrics, software and hardware optimizations—including Atlas removal, Gradle and AGP upgrades, DX tuning, redundant task cleanup, and pipeline redesign—cutting debug builds by minutes and release builds by tens of seconds.
This article introduces Walle, a fast Android channel‑packaging tool for the APK Signature V2 Scheme, explains how to configure it in Gradle, shows key properties and variables, and provides Gradle commands to generate single or multiple channel APKs efficiently.
This article details Beike's comprehensive Flutter integration approach for existing iOS and Android projects, covering official module templates, the challenges of the native integration process, and the company's source‑code and binary‑mode solutions that streamline podspec configuration, plugin handling, SDK automation, flavor support, and build efficiency.