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.6 (latest)

1.6

Created 16 July 2022.

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.6"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects