Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.bonitasoft.gradle.bonita-uid") version "0.1.60"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.bonitasoft.gradle:bonita-gradle-plugins:0.1.60")
  }
}

apply(plugin = "com.bonitasoft.gradle.bonita-uid")

Using the plugins DSL:

plugins {
  id "com.bonitasoft.gradle.bonita-uid" version "0.1.60"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.bonitasoft.gradle:bonita-gradle-plugins:0.1.60"
  }
}

apply plugin: "com.bonitasoft.gradle.bonita-uid"

Learn how to apply plugins to subprojects