File tree Expand file tree Collapse file tree
utilcode/src/test/java/com/blankj/utilcode/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ android:
1313 - tools
1414 - build-tools-$BUILD_TOOLS_VERSION
1515 - android-$COMPILE_SDK_VERSION
16- - extra-android-m2repository
17- - extra-android-support
1816
1917 licenses :
2018 - android-sdk-license-.+
@@ -29,5 +27,14 @@ before_install:
2927 - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
3028 - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
3129
30+ before_cache :
31+ - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
32+ - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
33+ cache :
34+ directories :
35+ - $HOME/.gradle/caches/
36+ - $HOME/.gradle/wrapper/
37+ - $HOME/.android/build-cache
38+
3239script :
33- - ./gradlew time
40+ ./gradlew build connectedCheck -i
Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ public class TimeUtilsTest {
3535 private final Date tomorrowTimeDate = new Date (tomorrowTimeMillis );
3636 private final String tomorrowTimeString = defaultFormat .format (tomorrowTimeDate );
3737 private final String tomorrowTimeStringFormat = mFormat .format (tomorrowTimeDate );
38- ;
39- private final long delta = 1 ;// 允许误差1ms
38+ private final long delta = 1 ;// 允许误差1ms
4039
4140 @ Test
4241 public void millis2String () throws Exception {
You can’t perform that action at this time.
0 commit comments