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)

Created 23 January 2024.

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

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.github.zetten.bazel-dependencies-plugin:com.github.zetten.bazel-dependencies-plugin.gradle.plugin:3.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.github.zetten.bazel-dependencies-plugin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.github.zetten.bazel-dependencies-plugin:com.github.zetten.bazel-dependencies-plugin.gradle.plugin:3.0.1")
      }
    }
    
    apply(plugin = "com.github.zetten.bazel-dependencies-plugin")
  • Applying plugins to all subprojects .