Search Gradle plugins

io.github.godfather1103.gradle-base-plugin

Owner: Jack Chu

Encapsulates some common syntax, such as setting Java options.encoding=UTF-8, clearing Maven target directory when cleaning.

https://github.com/godfather1103

Sources: https://github.com/godfather1103/gradle-base-plugin

Version 1.1

Created 15 May 2021.

Encapsulates some common syntax, such as setting Java options.encoding=UTF-8, clearing Maven target directory when cleaning.

Using the plugins DSL:

plugins {
  id("io.github.godfather1103.gradle-base-plugin") version "1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.godfather1103:gradle-base-plugin:1.1")
  }
}

apply(plugin = "io.github.godfather1103.gradle-base-plugin")

Using the plugins DSL:

plugins {
  id "io.github.godfather1103.gradle-base-plugin" version "1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.godfather1103:gradle-base-plugin:1.1"
  }
}

apply plugin: "io.github.godfather1103.gradle-base-plugin"

Learn how to apply plugins to subprojects