I want to add a library that i\'ve found on github but it required androidx.I found out that i should put these:
android.useAndroidX=true android.enableJetif
Those two properties need to be defined in a gradle.properties file at the root of your project, not in your build.gradle.
gradle.properties
build.gradle