Search Gradle plugins

us.eharning.gradle.defaults

Plugin providing opinionated defaults for us.eharning.* Gradle projects

https://github.com/harningt/gradle-defaults

Sources: https://github.com/harningt/gradle-defaults

Version 2.1.2 (latest)

Created 25 May 2019.

Plugin providing opinionated defaults for us.eharning.* Gradle projects

Add this plugin to your build using the plugins DSL:

plugins {
  id("us.eharning.gradle.defaults") version "2.1.2"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("us.eharning.gradle.defaults:us.eharning.gradle.defaults.gradle.plugin:2.1.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("us.eharning.gradle.defaults")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("us.eharning.gradle.defaults:us.eharning.gradle.defaults.gradle.plugin:2.1.2")
      }
    }
    
    apply(plugin = "us.eharning.gradle.defaults")
  • Applying plugins to all subprojects .