jarjar-gradle | Plugin library
kandi X-RAY | jarjar-gradle Summary
kandi X-RAY | jarjar-gradle Summary
~~This plugin let’s you easily use the jarjar tool in your gradle builds. This is handy for dependencies, which need to be repackaged, e.g. the full bouncy castle library for Android projects.~~. You setup the maven dependencies in in the dependencies section as usual. This plugin fetches and repackages them. The built .jar file is added to the libs folder. Most credit goes to I’ve took their tool and wrote this wrapper.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jarjar-gradle
jarjar-gradle Key Features
jarjar-gradle Examples and Code Snippets
Community Discussions
Trending Discussions on jarjar-gradle
QUESTION
mxparser
not working with jdk13
I am trying to use mxparser
in my android project.
I downloaded MathParser.org-mXparser-v.4.4.0-jdk13.jar and pasted it in libs folder of my project.
But my app is failing to build and the build output is:
FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:mergeDebugJavaResource'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform MathParser.org-mXparser-v.4.4.0-jdk13.jar to match attributes {artifactType=android-java-res, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for JetifyTransform: C:\Users\somagani\AndroidStudioProjects\MyApplication\app\libs\MathParser.org-mXparser-v.4.4.0-jdk13.jar. > Failed to transform 'C:\Users\somagani\AndroidStudioProjects\MyApplication\app\libs\MathParser.org-mXparser-v.4.4.0-jdk13.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 57. (Run with --stacktrace for more details.)
My dependencies in the build.gradle(:app) folder are
...ANSWER
Answered 2021-Apr-06 at 08:32This is due to JDK version mismatch in the library. The library isn't updated to support the latest JDK version.
I have tested that jdk10
version works perfectly
- Add
jdk10
version of library to your libs folder from this folder:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jarjar-gradle
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page