gradle-one-jar
gradle-one-jar copied to clipboard
The gradle-one-jar project is a Gradle plugin that uses One-JAR, a specialised Class-Loader written by Simon Tuffs (http://one-jar.sourceforge.net/), for building self-contained executable jars that i...
Unable to build jar: Cannot convert the provided notation to a File or URI: java.io.BufferedWriter@
I am trying to build a jar, so i followed the instructions but every-time i run the task i get this error. I'm i missing something in the build.gradle file?...
This is required when having JNI modules for multiple systems and architectures.
If I use the following build, in a project that resides in /Users/gus/projects/solrsystem/SolrSystem/code/ingest, I get a onejar that has an empty main/main.jar. ``` apply plugin: 'java' apply plugin: 'application' apply...
I have a gradle file defined as: apply plugin: 'gradle-one-jar' buildscript { repositories { mavenCentral() } dependencies { classpath 'com.github.rholder:gradle-one-jar:1.0.4' } } task fullJar(type: OneJar) { mainClass = 'com.mycompany.MyApp' additionalDir...
Fixed headings
Hello, I'm getting the following output when running a jar built with this plugin: ``` [Boot] INFO: setProperties(com.simontuffs.onejar.JarClassLoader@6e0be858) [Boot] INFO: using JarClassLoader: com.simontuffs.onejar.JarClassLoader Exception in thread "main" java.lang.NullPointerException at java.lang.String.replace(String.java:2240)...
Hello, This plugin is what I was looking for for one of my projects (https://github.com/fge/json-schema-validator), so thanks for that! I have one nitpick though. When I launch it, I see...
In Gradle 4.0 Manifest.writeTo(Writer) will be removed, to make it compatible, Manifest.writeTo(Object) needs to be used
I tried this out on a small project that includes several large dependant jars (50mb apx). Some of those do jar validation and resource loading on startup. Using one Jar...
In Gradle 4.0 method of Manifest interface `DefaultManifest writeTo(Writer writer)` is removed making this plugin incompatible with it. A method `org.gradle.api.java.archives.Manifest writeTo(Object path)` could be used instead.