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

buildscript {
  dependencies {
    classpath "com.osacky.doctor:doctor-plugin:0.5.1"
  }
}

// Must be applied in the project root.
apply plugin: "com.osacky.doctor"

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.

Here are the configuration options with their defaults: