Search Gradle plugins

io.ezet.gradle.resolve-to-module

Resolves a gradle library dependency to a local source module if one is available. This can be used in combination with `try-include-local` to easily substitute remotely hosted dependencies with local sources when developing.

https://github.com/ezet/gradle-substitute-for-source

Sources: https://github.com/ezet/gradle-substitute-for-source

Version 0.0.1-alpha1 (latest)

Created 15 November 2019.

Resolves a gradle library dependency to a local source module if one is available. This can be used in combination with `try-include-local` to easily substitute remotely hosted dependencies with local sources when developing.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.ezet.gradle.resolve-to-module") version "0.0.1-alpha1"
}

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