I am trying to use Jake Wharton's ThreeTenABP library - https://github.com/JakeWharton/ThreeTenABP - for JSR310 date/time features in my Android project. This library's main advantage is that it has less compile overhead than Jodatime (http://www.joda.org/joda-time/) and threetenbp (https://github.com/ThreeTen/threetenbp). However, the ThreeTenABP library isn't compiling in my project. I am putting the following in my build.gradle:
compile 'org.threeten:threetenbp:1.3-SNAPSHOT'
compile 'com.jakewharton.threetenabp:threetenabp:1.0.0-SNAPSHOT'
And I get a compilation error:
Error:Could not find org.threeten:threetenbp:1.3-SNAPSHOT. Required by: MyApp:app:unspecified MyApp:app:unspecified > com.jakewharton.threetenabp:threetenabp:1.0.0-SNAPSHOT Search in build.gradle files
Has anybody used this library successfully in Android before?