cooldown

Gradle

On this page

cooldown gates Gradle projects through --tool gradle.

What it reads#

A Gradle project is a directory with a gradle.lockfile, beside its build.gradle. cooldown finds the project by its directory, as the settings place it.

Registry#

Publish times come from Maven Central.

How it is driven#

upgrade, fix and --build run the gradlew (gradlew.bat on Windows) beside the nearest settings.gradle or settings.gradle.kts, and gradle only when the build ships none.

upgrade and fix relock the project in a scratch copy of that whole build, with your Gradle home, init scripts and credentials, and publish only the project’s gradle.lockfile. They never edit a build script, so fix holds a target below the version build.gradle declares.

--build runs that project’s assemble alone, without the projects below it.

Edge cases#

upgrade and fix refuse a project that:

  • resolves from a repository other than Maven Central, a mirror included
  • turns on org.gradle.mirror.maven.settings
  • locks leniently

check cannot prove a gradle.lockfile current, so it reports it lock_unknown.

Esc

Type # for headings only ↑↓ move ↵ open Ctrl ↵ new tab Ctrl U/D scroll preview

Keyboard shortcuts

/ ⌘ K Ctrl K
Search
← →
Previous or next page
?
Show these shortcuts