If you don't want appcompat-v7 you can use last release of library before this change : 1.6.0 Release 1.6.0 was build with support-v4 and android-switch-backport
Including this release in your pom.xml
<dependency>
<groupId>com.doomonafireball.betterpickers</groupId>
<artifactId>library</artifactId>
<version>1.6.0</version>
<type>aar</type>
</dependency>
Including this release in your build.gradle
compile 'com.doomonafireball.betterpickers:library:1.6.0'
If you are bringing in the support library you may need to add an exclusion:
compile ("com.doomonafireball.betterpickers:library:1.6.0") {
exclude group: 'com.android.support', module: 'support-v4'
}
You MUST manually add dependency to android-switch-backport
compile 'org.jraf:android-switch-backport:1.4.0@aar'
And as it not available on maven central add a new maven repository
maven {
url "http://JRAF.org/static/maven/2"
}