Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "io.arrow-kt.arrow-gradle-config-formatter" version "0.12.0-rc.24"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects