Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "io.arrow-kt.arrow-gradle-config-formatter" version "0.10.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects