Skip to content

Instantly share code, notes, and snippets.

@shannah
Created June 16, 2024 15:29
Show Gist options
  • Save shannah/07a5c2ca248d0b71384f4343354f291a to your computer and use it in GitHub Desktop.
Save shannah/07a5c2ca248d0b71384f4343354f291a to your computer and use it in GitHub Desktop.
Setting up jDeploy on a Java project
{
"bin": {"swingset2": "jdeploy-bundle/jdeploy.js"},
"author": "Oracle",
"description": "The Swing Sampler demo, packaged by jDeploy",
"main": "index.js",
"preferGlobal": true,
"repository": "https://github.com/shannah/swingset2",
"version": "1.0.5",
"jdeploy": {
"jar": "target/swingset2-1.0-SNAPSHOT.jar",
"javaVersion" : "11",
"title" : "SwingSet2",
"javafx" : false,
"jdk" : false
},
"dependencies": {"shelljs": "^0.8.4", "njre": "^0.2.0"},
"license": "GPLv2+Classpath Exception",
"name": "jdeploy-demo-swingset2",
"files": ["jdeploy-bundle"],
"scripts": {"test": "echo \"Error: no test specified\" && exit 1"}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment