Open aunkrig opened 9 years ago
A JAR file would be assume.
FWIW, you can find the latest as of July 16, 2017 (version 1.0.0, commit 69d2972ea10eefa66cdc2c1c283cb6ef79b3c5ba) here: https://github.com/EsotericSoftware/reflectasm/raw/master/build/jarjar-command-1.0.0-all.jar This is packed into a single JAR and made executable.
@NathanSweet Most helpful, thanks. Also, anyone stumbling onto this will want to read https://github.com/shevek/jarjar/issues/8
For those who want to build a jar for command-line use you need to add the following to the jarjar-command/build.gradle
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': 'com.tonicsystems.jarjar.Main'
)
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
I hope this will help https://github.com/shevek/jarjar/pull/20
@NathanSweet That link doesn't seem to work anymore.
@hannesa2 Thanks!
@abulka It can be found in the history: https://github.com/EsotericSoftware/reflectasm/blob/ade0542b625ca094cab3662402a17d92c2e54615/build/jarjar-command-1.0.0-all.jar
@abulka This is a dead repository and I was able to solve my issue with https://github.com/hannesa2/gradle-one-jar/ and here you can see the usage https://github.com/ytai/ioio/commit/08c6dd38a Maybe it helps.
Hello Shevek,
I desperately need a new version of the wonderful JARJAR tool, but have a hard time building it from source (I'm a GRADLE analphabet ;-) ). Could you please produce a JAR file?
Thank you in advance,
Arno