File tree Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 1
1
ext {
2
2
debugJniDebuggable = true
3
3
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
4
-
5
4
buildscript {
6
5
repositories {
7
- google()
6
+ google() // to fetch com.android.tools.build:gradle
7
+ mavenCentral()
8
+ maven { url ' https://maven.google.com' }
8
9
jcenter()
9
-
10
+ maven { url " https://jitpack.io" }
11
+ maven { url " https://jcenter.bintray.com" }
12
+ mavenCentral()
10
13
}
11
14
dependencies {
12
15
classpath ' com.android.tools.build:gradle:4.0.1'
@@ -15,11 +18,15 @@ buildscript {
15
18
// in the individual module build.gradle files
16
19
}
17
20
}
18
-
19
21
allprojects {
20
22
repositories {
21
- google()
22
- jcenter()
23
+ google() // to fetch com.android.tools.build:gradle
24
+ mavenCentral()
25
+ maven { url ' https://maven.google.com' }
26
+ jcenter()
27
+ maven { url " https://jitpack.io" }
28
+ maven { url " https://jcenter.bintray.com" }
29
+ mavenCentral()
23
30
}
24
31
}
25
32
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
- ./gradlew app:connectedDebugAndroidTest
2
+ ./gradlew app:connectedDebugAndroidTest --refresh-dependencies
3
3
RC=$?
4
4
adb logcat -t 2000 MAE:D ' *:E' > ./logcat.txt
5
5
exit $RC
Original file line number Diff line number Diff line change
1
+ call .\gradlew.bat app:connectedDebugAndroidTest --refresh-dependencies
2
+ adb.exe logcat -t 2000 MAE:D '*:E' > logcat.txt
You can’t perform that action at this time.
0 commit comments