Lightweight-Stream-API
                                
                                 Lightweight-Stream-API copied to clipboard
                                
                                    Lightweight-Stream-API copied to clipboard
                            
                            
                            
                        Make java 8 as a minimum version
Java 8 was released in March 2014 - 7 years ago.
It's time to make it as a minimum java version.
I think it's not necessary. Code compiles fine with Java 6+, it doesn't need any Java 8 dependencies, so why? Btw, Kotlin compiler can still target 1.6
We can setup target for kotlin.
For kotlin 1.5 java 8 is default target.
@javadev switching to Java 8 may cause some problems on Android API < 24. A small analysis is needed. UPD: Lambdas and even default methods work fine. As long as we don't use Java 8 classes, everything should be fine.
I prepared code changes https://github.com/aNNiMON/Lightweight-Stream-API/pull/196
I use this library on Android, which gives me Stream compatibility on devices below API 24. I think this is fine, if the target version is set to 8, why not just use the STREAM API of JDK8?