Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.mikeneck.graalvm-native-image") version "0.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.mikeneck:graalvm-native-image-plugin:0.1.1")
  }
}

apply(plugin = "org.mikeneck.graalvm-native-image")

Using the plugins DSL:

plugins {
  id "org.mikeneck.graalvm-native-image" version "0.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.mikeneck:graalvm-native-image-plugin:0.1.1"
  }
}

apply plugin: "org.mikeneck.graalvm-native-image"

Learn how to apply plugins to subprojects