Search Gradle plugins

Version 0.7.19 (latest)

Created 05 February 2024.

The PBJ Protobuf plugin provides protobuf compilation to java records.

Using the plugins DSL:

plugins {
  id("com.hedera.pbj.pbj-compiler") version "0.7.19"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.hedera.pbj:pbj-compiler:0.7.19")
  }
}

apply(plugin = "com.hedera.pbj.pbj-compiler")

Using the plugins DSL:

plugins {
  id "com.hedera.pbj.pbj-compiler" version "0.7.19"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.hedera.pbj:pbj-compiler:0.7.19"
  }
}

apply plugin: "com.hedera.pbj.pbj-compiler"

Learn how to apply plugins to subprojects