Search Gradle plugins

Version 0.0.1 (latest)

Created 17 June 2019.

An alternative approach to gradle init.

Using the plugins DSL:

plugins {
  id "com.github.slopeoak.gradle-init" version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.slopeoak:gradle-init:0.0.1"
  }
}

apply plugin: "com.github.slopeoak.gradle-init"

Using the plugins DSL:

plugins {
  id("com.github.slopeoak.gradle-init") version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.slopeoak:gradle-init:0.0.1")
  }
}

apply(plugin = "com.github.slopeoak.gradle-init")

Learn how to apply plugins to subprojects