🤖 Tips and Tricks from the #Gradle Community

Custom Gradle #Plugin for Unified Static Code Analysis — describes an uncomplicated approach to automating code style rules checking in different #repositories - https://dev.to/kirekov/custom-gradle-plugin-for-unified-static-code-analysis-4bj0

#GradleTips

Custom Gradle Plugin for Unified Static Code Analysis

Static code analysis is an incredible technique that makes your code base easier to maintain. But if...

DEV Community

🤖 Tips and Tricks from the #Gradle Community

Gradle’s Flexibility in Action — shows how one can leverage Gradle’s flexibility to support what seemed to be a complicated use case - https://melix.github.io/blog/2023/gradle-synthetic-projects.html

#GradleTips

Cédric Champeau's blog: Gradle’s flexibility in action

🤖 Tips and Tricks from the #Gradle Community

Unlocking the Power of Gradle — shares how to deal with lock problems easily - https://twissmueller.medium.com/unlocking-the-power-of-gradle-bd0cffecaac

#GradleTips

Unlocking the Power of Gradle - Tobias Wissmueller - Medium

Gradle builds use locks to ensure that only one process accesses a particular resource at a time. Interrupting a Gradle-build can result in lock files being left behind, which prevent subsequent builds. This tutorial explains how to quickly get your Gradle-build running again.

Medium

🤖 Tips and Tricks from the #Gradle Community

Saving 5,400 Hours a Year With Gradle’s #ConfigurationCache — Demonstrates how #Square integrated configuration cache to reduce local build times from 182 hours to 25 hours per week - https://developer.squareup.com/blog/5-400-hours-a-year-saving-developers-time-and-sanity-with-gradles/

#GradleTips

Saving 5,400 hours a year with Gradle's Configuration Cache

Learn how the Mobile Developer Experience (MDX) Android team drastically reduced build times with Gradle's Configuration Cache

Square Corner Blog

🤖 Tips and Tricks from the #Gradle Community

Tracing #Java Dependencies With Gradle — guides you through the options to understand your #dependencies, including how to use dependencyInsight - https://mckornfield.medium.com/tracing-java-dependencies-with-gradle-98dd93f8e973

#GradleTipshttps://mckornfield.medium.com/tracing-java-dependencies-with-gradle-98dd93f8e973

Tracing Java Dependencies with Gradle - Matt Kornfield - Medium

Gradle has some pretty awesome docs when it comes to using the tool to debug the origin of dependencies, but I thought I’d take you through an open source project as an example. Many people I’ve…

Medium

🤖 Tips and Tricks from the #Gradle Community

Hubert Klein Ikkink in Gradle Goodness: Set Project Version in Version Catalog — Depicts how to define the project version via a catalog - https://blog.mrhaki.com/2022/12/gradle-goodness-set-project-version-in.html

#GradleTipshttps://blog.mrhaki.com/2022/12/gradle-goodness-set-project-version-in.html

Gradle Goodness: Set Project Version In Version Catalog

A blog about Groovy, Clojure, Java and other cool developer subjects.

Messages from mrhaki

🤖 Tips and Tricks from the #Gradle Community

Single Source of Truth for Your #BuildScripts — Takes a deep dive into setting up and configuring an #Android project geared for maintainability - https://proandroiddev.com/single-source-of-truth-for-your-build-scripts-72d584534949

#GradleTipshttps://proandroiddev.com/single-source-of-truth-for-your-build-scripts-72d584534949

Single source of truth for your build scripts - ProAndroidDev

Today we will figure out how to manage your build scripts more efficiently, avoid boilerplate and code duplication. We will cover two major topics: dependencies management and common configuration…

ProAndroidDev

Custom #CommandLine Options

The #task API supports a mechanism for marking a property to automatically generate a corresponding command line parameter with a specific name at #runtime
https://docs.gradle.org/current/userguide/custom_tasks.html#sec:declaring_and_using_command_line_options

#GradleTipshttps://docs.gradle.org/current/userguide/custom_tasks.html#sec:declaring_and_using_command_line_options

Developing Custom Gradle Task Types

🤖 Tips and Tricks from the #Gradle Community

Evaluate Your afterEvaluate — Aurimas Liutikas describes why you should only use afterEvaluate as a last resort - https://www.liutikas.net/2022/12/09/Evaluate-Your-AfterEvaluate.html

#GradleTipshttps://www.liutikas.net/2022/12/09/Evaluate-Your-AfterEvaluate.html

Evaluate your afterEvaluate

You’ve probably seen dozens of Stack Overflow answers to Gradle problems to simply adding afterEvaluate {} to your build. Sometimes, this fixes your apparent...

🤖 Tips and Tricks from the #Gradle Community

Hubert Klein Ikkink in Gradle Goodness: Configure #TestTask With #JVM Test Suite — Provides an idiomatic example of configuring the default test task with JVM Test Suite without adding additional types of tests - https://blog.mrhaki.com/2022/12/gradle-goodness-configure-test-task.html

#GradleTipshttps://blog.mrhaki.com/2022/12/gradle-goodness-configure-test-task.html

Gradle Goodness: Configure Test Task With JVM Test Suite

A blog about Groovy, Clojure, Java and other cool developer subjects.

Messages from mrhaki