You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library it's huge and forces me to enable multidex because the references exceed 65,536 methods, indicating the app has reached the limit of the Android build architecture.
So I ask, there's a way to modularize the library so we can have small modules so we can depend just on those we really need?
The text was updated successfully, but these errors were encountered:
filipebezerra
changed the title
Modularize library to incorporate in Android applications
Modularize library to incorporate it in Android applications
Oct 11, 2020
@filipebezerra The library is rather small and the only dependency that can be optional is the JRuby regex. I've made the change in the master branch and wondering if you could help to test it out.
Other than that, the only library that it depends on it the Jackson parser.
@stevehu thanks for answer, I'm new to this library but yet I could look into this issue. Can you point out where to start and maybe I could submit a PR.
I have made the change already in the master branch. You just need to clone the project and build locally with mvn clean install and test in your Andriod application to ensure that there are no additional dependencies in your apk file.
I'm using the version of the library
implementation 'com.networknt:json-schema-validator:1.0.43'
I have the following configuration within my app\build.gradle:
When I add the library as a project dependency and rebuild the project, it fails with the following message:
The library it's huge and forces me to enable multidex because the references exceed 65,536 methods, indicating the app has reached the limit of the Android build architecture.
So I ask, there's a way to modularize the library so we can have small modules so we can depend just on those we really need?
The text was updated successfully, but these errors were encountered: