Search Gradle plugins

Version 2.2.0 (latest)

2.2.0

Created 25 June 2022.

Gradle plugin for generating .gitignore files.

Using the plugins DSL:

plugins {
  id("com.github.gregwhitaker.gitignore") version "2.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.gregwhitaker:gradle-gitignore-plugin:2.2.0")
  }
}

apply(plugin = "com.github.gregwhitaker.gitignore")

Using the plugins DSL:

plugins {
  id "com.github.gregwhitaker.gitignore" version "2.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.gregwhitaker:gradle-gitignore-plugin:2.2.0"
  }
}

apply plugin: "com.github.gregwhitaker.gitignore"

Learn how to apply plugins to subprojects