Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.jmix") version "0.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.jmix.gradle:jmix-gradle-plugin:0.2.1")
  }
}

apply(plugin = "io.jmix")

Using the plugins DSL:

plugins {
  id "io.jmix" version "0.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.jmix.gradle:jmix-gradle-plugin:0.2.1"
  }
}

apply plugin: "io.jmix"

Learn how to apply plugins to subprojects