Search Gradle plugins

at.schrottner.gitlab-repositories

Handling GitLab repositories made easy. Easy setup for GitLab dependencies, for gradle plugins and others

http://schrottner.at/gradle-gitlab-repositories/

Sources: https://github.com/aepfli/gradle-gitlab-repositories.git

Version 0.4.0-beta3

0.4.0-beta3

Created 22 March 2021.

Handling Maven GitLab dependencies easy. Define multiple tokens and selectively apply them to repositories.

Using the plugins DSL:

plugins {
  id("at.schrottner.gitlab-repositories") version "0.4.0-beta3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("at.schrottner.gradle.gitlab-plugin:gitlab-repositories:0.4.0-beta3")
  }
}

apply(plugin = "at.schrottner.gitlab-repositories")

Using the plugins DSL:

plugins {
  id "at.schrottner.gitlab-repositories" version "0.4.0-beta3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "at.schrottner.gradle.gitlab-plugin:gitlab-repositories:0.4.0-beta3"
  }
}

apply plugin: "at.schrottner.gitlab-repositories"

Learn how to apply plugins to subprojects