Skip to content
Usage example of the Badass Runtime Plugin
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/main
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

PRs Welcome License Build Status

Badass Runtime Plugin Example

A small application that shows how to use the Badass Runtime Plugin.

The plugin is configured in build.gradle as follows:

plugins {
    id 'org.beryx.runtime' version '1.1.2'
    ...
}

runtime {
    modules = ['java.naming', 'java.xml']
}

Usage

Running with gradle:

./gradlew run

The following text should appear on your screen:

LOG: Hello, non-modular java!

Creating and executing a custom runtime image:

./gradlew runtime
cd build/image/bin
./hello

The following text should appear on your screen:

LOG: Hello, non-modular java!
You can’t perform that action at this time.