Search Gradle plugins

io.github.gregoranders.project-configuration

Following the principle of convention over configuration this Gradle plugin provides default configurations for various plugins of a Gradle JVM project so that you do not need to copy boilerplate code throughout your projects.

https://github.com/gregoranders/gradle-project-configuration

Sources: https://github.com/gregoranders/gradle-project-configuration

Version 0.0.9 (latest)

Created 04 June 2023.

Following the principle of convention over configuration this Gradle plugin provides default configurations for various plugins of a Gradle JVM project so that you do not need to copy boilerplate code throughout your projects.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.gregoranders.project-configuration") version "0.0.9"
}

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("io.github.gregoranders.project-configuration:io.github.gregoranders.project-configuration.gradle.plugin:0.0.9")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.gregoranders.project-configuration")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.gregoranders.project-configuration:io.github.gregoranders.project-configuration.gradle.plugin:0.0.9")
      }
    }
    
    apply(plugin = "io.github.gregoranders.project-configuration")
  • Applying plugins to all subprojects .