Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.jmix") version "2.2.0-M1"
}

Using legacy plugin application:

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

apply(plugin = "io.jmix")

Using the plugins DSL:

plugins {
  id "io.jmix" version "2.2.0-M1"
}

Using legacy plugin application:

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

apply plugin: "io.jmix"

Learn how to apply plugins to subprojects