Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide a ready-to-use "jarjar.jar" #3

Open
aunkrig opened this issue Aug 19, 2015 · 8 comments
Open

Please provide a ready-to-use "jarjar.jar" #3

aunkrig opened this issue Aug 19, 2015 · 8 comments

Comments

@aunkrig
Copy link

aunkrig commented Aug 19, 2015

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

@voidmain
Copy link

voidmain commented Oct 8, 2016

A JAR file would be assume.

@NathanSweet
Copy link

NathanSweet commented Jul 16, 2017

FWIW, you can find the latest as of July 16, 2017 (version 1.0.0, commit 69d2972) 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.

@artob
Copy link

artob commented Jan 17, 2018

@NathanSweet Most helpful, thanks. Also, anyone stumbling onto this will want to read #8

@JekRock
Copy link
Contributor

JekRock commented Oct 24, 2019

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) }
    }
}

@hannesa2
Copy link

hannesa2 commented Apr 7, 2021

I hope this will help #20

@abulka
Copy link

abulka commented May 23, 2023

@NathanSweet That link doesn't seem to work anymore.

@hannesa2 Thanks!

@hannesa2
Copy link

@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 ytai/ioio@08c6dd38a
Maybe it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants