-
Notifications
You must be signed in to change notification settings - Fork 53
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
Is kotlin-reflect really needed for lets-plot? #471
Comments
Hi, I have to double check on this but this is most likely a required dependency. |
I'm not sure what are the build/test instructions (are you interested in GitHub Actions-based CI?), however, I commented all There are several reflection usages, so I kept AesReflectTest which uses reflection to instantiate Aes: lets-plot/plot-base-portable/src/jvmTest/kotlin/plot/base/AesReflectTest.kt Lines 22 to 23 in 6249749
LiveMapTestBase which uses .constructors.. :
(I excluded Other than that, it looks like |
AFAIK Kotlin compiler is able to compile simple things like |
Just in case, the use of |
Sounds good! If
|
Yes, most reflection we are using is provided by stdlib ( So what I did - I removed all |
I'm about to add lets-plot charts to Apache JMeter, and it turns out kotlin-reflect-1.5.21.jar consumes 3 megabytes (~18% of the new jars).
Could kotlin-reflect dependency be avoided in lets-plot?
Just for reference, here's the list of all the jars Kotlin + lets-plot brings:
The text was updated successfully, but these errors were encountered: