Search Gradle plugins

Using the plugins DSL:

plugins {
  id("synapticloop.documentr") version "v1.1.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.synapticloop:documentr:v1.1.5")
  }
}

apply(plugin = "synapticloop.documentr")

Using the plugins DSL:

plugins {
  id "synapticloop.documentr" version "v1.1.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.synapticloop:documentr:v1.1.5"
  }
}

apply plugin: "synapticloop.documentr"

Learn how to apply plugins to subprojects