File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
utilcode/src/test/java/com/blankj/utilcode/util Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ android:
13
13
- tools
14
14
- build-tools-$BUILD_TOOLS_VERSION
15
15
- android-$COMPILE_SDK_VERSION
16
- - extra-android-m2repository
17
- - extra-android-support
18
16
19
17
licenses :
20
18
- android-sdk-license-.+
@@ -29,5 +27,14 @@ before_install:
29
27
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
30
28
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
31
29
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
+
32
39
script :
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 {
35
35
private final Date tomorrowTimeDate = new Date (tomorrowTimeMillis );
36
36
private final String tomorrowTimeString = defaultFormat .format (tomorrowTimeDate );
37
37
private final String tomorrowTimeStringFormat = mFormat .format (tomorrowTimeDate );
38
- ;
39
- private final long delta = 1 ;// 允许误差1ms
38
+ private final long delta = 1 ;// 允许误差1ms
40
39
41
40
@ Test
42
41
public void millis2String () throws Exception {
You can’t perform that action at this time.
0 commit comments