Search Gradle plugins

org.beryx.jlink

A Gradle plugin that assembles your modules into a custom runtime image

https://github.com/beryx/badass-jlink-plugin/

Using the plugins DSL:

plugins {
  id "org.beryx.jlink" version "2.9.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.beryx:badass-jlink-plugin:2.9.4"
  }
}

apply plugin: "org.beryx.jlink"

Using the plugins DSL:

plugins {
  id("org.beryx.jlink") version "2.9.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.beryx:badass-jlink-plugin:2.9.4")
  }
}

apply(plugin = "org.beryx.jlink")

Learn how to apply plugins to subprojects