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 "2.22.1"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "org.beryx.jlink"

Learn how to apply plugins to subprojects