Search Gradle plugins

net.swisstech.elasticdependencies

Gradle plugin to allow resolving dependencies into project-dependencies in a multimodule build or, if no matching modules are found, into external dependencies (which allows using the -u switch in a module, assuming all other referenced modules are available from your repositories)

https://github.com/stackmagic/gradle-elasticdependencies

Version 1.0.0 (latest)

Created 10 November 2014.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact

Add this plugin to your build using the plugins DSL:

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