Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.spine.tools.gradle.bootstrap") version "1.5.27"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "io.spine.tools.gradle.bootstrap" version "1.5.27"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects