Skip to content

Gradle Doctor

Github Actions

The right prescription for your Gradle build.

Watch this Virtual Android Makers 2019 entitled The Secrets of the Build Scan Plugin and the Internals of Gradle to learn more about what this plugin does.

Usage

  1. Apply the Gradle Plugin to the root of your project.
  2. The Gradle Doctor will print suggestions for your build as you run regular tasks.
plugins {
  id "com.osacky.doctor" version "0.9.2"
}
plugins {
  id("com.osacky.doctor") version "0.9.2"
}

For legacy plugin application, see the Gradle Plugin Portal.

Features

Configurable Warnings

  • Warn when build spends more than 10% of the time garbage collecting.
  • Warn when connection to maven repositories is slowing down the build.
  • Warn when build cache connection speed is slowing down the build.

Supported Gradle versions

The minimum supported Gradle version is 6.1.1. If using Gradle 5.x, please use Gradle Doctor version 0.7.3.