Closed jontejj closed 6 years ago
Arguments.stringArgument("-D").asPropertyMap().transform(map -> map.entrySet().stream().map(entry -> System.setProperty(entry.getKey(), entry.getValue()))).build()
Makes it look like -D=hello=world instead of -Dhello=world The keys on the map that is passed as map also contains -D= in the beginning of the key name.
Fixed in the jontejj repo
Arguments.stringArgument("-D").asPropertyMap().transform(map -> map.entrySet().stream().map(entry -> System.setProperty(entry.getKey(), entry.getValue()))).build()
Makes it look like -D=hello=world instead of -Dhello=world The keys on the map that is passed as map also contains -D= in the beginning of the key name.