Search Gradle plugins

Version 2.0.4 (latest)

Created 13 April 2021.

Gradle plugin to add external git repos as project dependencies

Using the plugins DSL:

plugins {
  id "com.alexvasilkov.git-dependencies" version "2.0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.alexvasilkov:gradle-git-dependencies:2.0.4"
  }
}

apply plugin: "com.alexvasilkov.git-dependencies"

Using the plugins DSL:

plugins {
  id("com.alexvasilkov.git-dependencies") version "2.0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.alexvasilkov:gradle-git-dependencies:2.0.4")
  }
}

apply(plugin = "com.alexvasilkov.git-dependencies")

Learn how to apply plugins to subprojects