Search Gradle plugins

Using the plugins DSL:

plugins {
  id("se.bjurr.gitchangelog.git-changelog-gradle-plugin") version "3.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("se.bjurr.gitchangelog:git-changelog-gradle-plugin:3.0.1")
  }
}

apply(plugin = "se.bjurr.gitchangelog.git-changelog-gradle-plugin")

Using the plugins DSL:

plugins {
  id "se.bjurr.gitchangelog.git-changelog-gradle-plugin" version "3.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "se.bjurr.gitchangelog:git-changelog-gradle-plugin:3.0.1"
  }
}

apply plugin: "se.bjurr.gitchangelog.git-changelog-gradle-plugin"

Learn how to apply plugins to subprojects