Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.spine.protodata") version "0.13.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.spine:protodata:0.13.0")
  }
}

apply(plugin = "io.spine.protodata")

Using the plugins DSL:

plugins {
  id "io.spine.protodata" version "0.13.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.spine:protodata:0.13.0"
  }
}

apply plugin: "io.spine.protodata"

Learn how to apply plugins to subprojects