I wish to add the following to my Android App via Gradle:
dependencies {
...
compile "com.android.support:support-dynamic-animation:25.3.0"
}
but devices with Sdk version less then Sdk Version=16 do not support this library. Is there a way that I can compile only for the devices with Sdk version higher then or equal to 16 and not for the rest?