Search Gradle plugins

se.eelde.build-optimizations

Verify that builds on developer machines (plugin will sidestep checks on CI) are running with expected optimizations enabled. Daemon builds, parallel, xmx etc. Useful for new developers, new machines, if you accidentally delete your .gradle folder etc. A good way to get new optimizations from gradle to be adopted across users of your repository / your organization.

http://www.eelde.se/

Sources: https://github.com/erikeelde/gradle-optimization

Version 0.2.0 (latest)

Created 13 December 2020.

Verify that builds on developer machines (plugin will sidestep checks on CI) are running with expected optimizations enabled. Daemon builds, parallel, xmx etc. Useful for new developers, new machines, if you accidentally delete your .gradle folder etc. A good way to get new optimizations from gradle to be adopted across users of your repository / your organization.

Add this plugin to your build using the plugins DSL:

plugins {
  id("se.eelde.build-optimizations") version "0.2.0"
}

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