Search Gradle plugins

com.github.amistad012oss.gradle.git-repo-plugin

This plugin allows you to add a git repository as a maven repo, even if the git repository is private, similar to how CocoaPods works.

https://github.com/amistad012oss/gradle-git-repo-plugin

Version 1.0.0 (latest)

Created 07 April 2020.

This plugin allows you to add a git repository as a maven repo, even if the git repository is private, similar to how CocoaPods works.

Using the plugins DSL:

plugins {
  id "com.github.amistad012oss.gradle.git-repo-plugin" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.amistad012oss.gradle:gradle-git-repo-plugin:1.0.0"
  }
}

apply plugin: "com.github.amistad012oss.gradle.git-repo-plugin"

Using the plugins DSL:

plugins {
  id("com.github.amistad012oss.gradle.git-repo-plugin") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.amistad012oss.gradle:gradle-git-repo-plugin:1.0.0")
  }
}

apply(plugin = "com.github.amistad012oss.gradle.git-repo-plugin")

Learn how to apply plugins to subprojects