Search Gradle plugins

com.lifecosys.gradle.git-maven-repo

Plugin for using any git repository as maven repository for dependency and publish.

https://github.com/hyysguyang/gradle-git-maven-repo-plugin

Version 0.5 (latest)

Created 11 March 2018.

Plugin for using any git repository as maven repository for dependency and publish.

Using the plugins DSL:

plugins {
  id "com.lifecosys.gradle.git-maven-repo" version "0.5"
}

Using legacy plugin application:

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

apply plugin: "com.lifecosys.gradle.git-maven-repo"

Using the plugins DSL:

plugins {
  id("com.lifecosys.gradle.git-maven-repo") version "0.5"
}

Using legacy plugin application:

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

apply(plugin = "com.lifecosys.gradle.git-maven-repo")

Learn how to apply plugins to subprojects