Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.spine.tools.gradle.bootstrap") version "1.0.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.spine.tools:spine-bootstrap:1.0.0-SNAPSHOT")
  }
}

apply(plugin = "io.spine.tools.gradle.bootstrap")

Using the plugins DSL:

plugins {
  id "io.spine.tools.gradle.bootstrap" version "1.0.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.spine.tools:spine-bootstrap:1.0.0-SNAPSHOT"
  }
}

apply plugin: "io.spine.tools.gradle.bootstrap"

Learn how to apply plugins to subprojects