Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.arrow-kt.analysis.kotlin") version "2.0.3-alpha.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.arrow-kt:arrow-analysis-kotlin-gradle-plugin:2.0.3-alpha.2")
  }
}

apply(plugin = "io.arrow-kt.analysis.kotlin")

Using the plugins DSL:

plugins {
  id "io.arrow-kt.analysis.kotlin" version "2.0.3-alpha.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.arrow-kt:arrow-analysis-kotlin-gradle-plugin:2.0.3-alpha.2"
  }
}

apply plugin: "io.arrow-kt.analysis.kotlin"

Learn how to apply plugins to subprojects