Search Gradle plugins

Version 0.0.2 (latest)

Created 21 August 2023.

A Gradle plugin to keep your computer awake while running gradle tasks

Using the plugins DSL:

plugins {
  id("me.haroldmartin.gradle.caffeinate") version "0.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("me.haroldmartin.gradle:plugin:0.0.2")
  }
}

apply(plugin = "me.haroldmartin.gradle.caffeinate")

Using the plugins DSL:

plugins {
  id "me.haroldmartin.gradle.caffeinate" version "0.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "me.haroldmartin.gradle:plugin:0.0.2"
  }
}

apply plugin: "me.haroldmartin.gradle.caffeinate"

Learn how to apply plugins to subprojects