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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "org.beryx.jlink"

Learn how to apply plugins to subprojects