Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("org.mikeneck.graalvm-native-image") version "v1.0.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:v1.0.1")
  }
}

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

Learn how to apply plugins to subprojects