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.7.0-beta1 (latest)

0.7.0-beta1

Created 04 April 2023.

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.7.0-beta1"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "at.schrottner.gitlab-repositories" version "0.7.0-beta1"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects