jarjar
jarjar copied to clipboard
Request for release into maven repository
Appreciate if you can consider release your jarjar libraries into the official maven repository, so aTalk can refer to it. aTalk release the apk into android playstore and Fdroid. Fdroid has restriction on inclusion of any pre-built jar into the source.
aTalk is an open source: https://github.com/cmeng-git/atalk-android
Currently aTalk build.gradle is making reference to 'org.anarres.jarjar' jarjar, but seems this tool has not been updated for a while and is facing some problem i.e. NullPointerException in LambdaClass.createLambdaImplMethodTarget
================= buildscript { repositories { google() jcenter() }
dependencies {
classpath 'org.anarres.jarjar:jarjar-gradle:1.0.1' // working jarjar.repackage version
}
}
apply plugin: 'org.anarres.jarjar'
@shevek we'd also love to get a new release of your plugin. We need to pick up ASM8 support upgrade
Please release 1.0.2 from current master.
I hope this will help you https://github.com/shevek/jarjar/pull/20 but there is current no publish included
Thanks for the new input. Would you be able to provide an example on how to use the jarjar 1.0.3 in gradle.
When I change the aTalk build.gradle to buildscript { repositories { google() mavenCentral() }
dependencies {
classpath "org.anarres.jarjar:jarjar-gradle:1.0.3"
}
}
Gradle sync immediately exit with the following errors:
A problem occurred configuring project ':buildSrc'.
Could not resolve all artifacts for configuration ':buildSrc:classpath'. Could not find org.anarres.jarjar:jarjar-gradle:1.0.3. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/anarres/jarjar/jarjar-gradle/1.0.3/jarjar-gradle-1.0.3.pom - https://repo.maven.apache.org/maven2/org/anarres/jarjar/jarjar-gradle/1.0.3/jarjar-gradle-1.0.3.pom - https://plugins.gradle.org/m2/org/anarres/jarjar/jarjar-gradle/1.0.3/jarjar-gradle-1.0.3.pom Required by: project :buildSrc
=============== For jarjar v1.0.1 it was released in the maven repository, hence there is no problem when v1.0.1 is used. https://mvnrepository.com/artifact/org.anarres.jarjar/jarjar-gradle
I also made refer to the following file, but none help. https://github.com/shevek/jarjar/blob/master/jarjar-gradle/example/build.gradle
@shevek Any chance to have an update released soon? Especially in the light of #22
Should we try to publish this repo from a fork under a different maven coordinate?
I suggest moving to https://github.com/johnrengelman/shadow
That's what we ended up doing on my team.
I tried on aTalk project but facing problem. Any advice will be appreciated.
Unable to use shadow to achieve the same result as jarjar tools for aTalk project #761