Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects