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.2.1-gradle4"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.beryx.jlink" version "2.2.1-gradle4"
}

Using legacy plugin application:

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

apply plugin: "org.beryx.jlink"

Learn how to apply plugins to subprojects