set min&targetSdkVersion with Gradle and make the sample app run on Android < L