Search Gradle plugins

Version 0.7.11 (latest)

Created 31 January 2019.

Xeno's Default Java Compiler Settings

Using the plugins DSL:

plugins {
  id "com.xenoterracide.gradle.java-defaults" version "0.7.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.xenoterracide.gradle:gradle-plugin-bundle:0.7.11"
  }
}

apply plugin: "com.xenoterracide.gradle.java-defaults"

Using the plugins DSL:

plugins {
  id("com.xenoterracide.gradle.java-defaults") version "0.7.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.xenoterracide.gradle:gradle-plugin-bundle:0.7.11")
  }
}

apply(plugin = "com.xenoterracide.gradle.java-defaults")

Learn how to apply plugins to subprojects