Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects