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

Version 1.5 (latest)

Created 10 July 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.5"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects