Search Gradle plugins

com.github.zetten.bazel-dependencies-plugin

A Gradle plugin that allows the generation of Bazel repository rules from Gradle project dependency configuration

https://github.com/Zetten/bazel-dependencies-gradle-plugin

Sources: https://github.com/Zetten/bazel-dependencies-gradle-plugin

Version 3.0.1 (latest)

3.0.1

Created 23 January 2024.

A Gradle plugin that allows the generation of Bazel repository rules from Gradle project dependency configuration

Using the plugins DSL:

plugins {
  id("com.github.zetten.bazel-dependencies-plugin") version "3.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.zetten:bazel-dependencies-gradle-plugin:3.0.1")
  }
}

apply(plugin = "com.github.zetten.bazel-dependencies-plugin")

Using the plugins DSL:

plugins {
  id "com.github.zetten.bazel-dependencies-plugin" version "3.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.zetten:bazel-dependencies-gradle-plugin:3.0.1"
  }
}

apply plugin: "com.github.zetten.bazel-dependencies-plugin"

Learn how to apply plugins to subprojects