Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.arrow-kt.arrow-gradle-config-formatter") version "0.6.1-rc.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.arrow-kt:arrow-gradle-config-formatter:0.6.1-rc.5")
  }
}

apply(plugin = "io.arrow-kt.arrow-gradle-config-formatter")

Using the plugins DSL:

plugins {
  id "io.arrow-kt.arrow-gradle-config-formatter" version "0.6.1-rc.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.arrow-kt:arrow-gradle-config-formatter:0.6.1-rc.5"
  }
}

apply plugin: "io.arrow-kt.arrow-gradle-config-formatter"

Learn how to apply plugins to subprojects