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

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.

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.io.ezet.gradle:gradle-substitute-for-source:0.0.1-alpha1"
  }
}

apply plugin: "io.ezet.gradle.resolve-to-module"

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.io.ezet.gradle:gradle-substitute-for-source:0.0.1-alpha1")
  }
}

apply(plugin = "io.ezet.gradle.resolve-to-module")

Learn how to apply plugins to subprojects