Windows 10 SDK can't be configured (Gradle 4.1)

In a cpp build, gradle won’t detect windows 10 SDK.

Regarding the detection mechanism :

It’s seems to be locked to Win8, as the isWindowsSdk method will loop over

private static final String KERNEL32_PATHS[] = {

to find kernel.lib and the win10 SDK layout is : Windows Kits\10\Lib\10.0.10240.0\um\x86

((Setup done with Visual C++ Build tools 2015 installer downloaded from )