Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects