File tree Expand file tree Collapse file tree 9 files changed +36
-19
lines changed
demo-react-native-jest/android Expand file tree Collapse file tree 9 files changed +36
-19
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
google()
7
7
}
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:3.0.1 '
9
+ classpath ' com.android.tools.build:gradle:3.1.4 '
10
10
}
11
11
}
12
12
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.1 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.10 -all.zip
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ apply from: "../../node_modules/react-native/react.gradle"
6
6
7
7
android {
8
8
compileSdkVersion 27
9
- buildToolsVersion ' 27.0.2 '
9
+ buildToolsVersion ' 27.0.3 '
10
10
11
11
defaultConfig {
12
12
applicationId " com.detox.rn.example"
@@ -69,13 +69,13 @@ android {
69
69
}
70
70
71
71
dependencies {
72
- implementation " com.android.support:appcompat-v7:27.0.2 "
72
+ implementation " com.android.support:appcompat-v7:27.1.1 "
73
73
implementation " com.facebook.react:react-native:+" // From node_modules
74
74
75
75
androidTestImplementation(project(path : " :detox" ))
76
76
androidTestImplementation ' junit:junit:4.12'
77
- androidTestImplementation ' com.android.support.test:runner:1.0.1 '
78
- androidTestImplementation ' com.android.support.test:rules:1.0.1 '
77
+ androidTestImplementation ' com.android.support.test:runner:1.0.2 '
78
+ androidTestImplementation ' com.android.support.test:rules:1.0.2 '
79
79
}
80
80
81
81
// Run this once to be able to run the application with BUCK
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ buildscript {
4
4
google()
5
5
}
6
6
dependencies {
7
- classpath ' com.android.tools.build:gradle:3.0.1 '
7
+ classpath ' com.android.tools.build:gradle:3.1.4 '
8
8
}
9
9
}
10
10
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.1 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.10 -all.zip
Original file line number Diff line number Diff line change 34
34
"binaryPath" : " android/app/build/outputs/apk/debug/app-debug.apk" ,
35
35
"build" : " pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd" ,
36
36
"type" : " android.emulator" ,
37
- "name" : " Nexus_5X_API_24_-_GPlay "
37
+ "name" : " Nexus_5X_API_26 "
38
38
},
39
39
"android.emu.release" : {
40
40
"binaryPath" : " android/app/build/outputs/apk/release/app-release.apk" ,
41
41
"build" : " pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd" ,
42
42
"type" : " android.emulator" ,
43
- "name" : " Nexus_5X_API_24_-_GPlay "
43
+ "name" : " Nexus_5X_API_26 "
44
44
}
45
45
}
46
46
}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -e
2
+
3
+ source $( dirname " $0 " ) /demo-projects.sh
4
+
5
+ pushd examples/demo-react-native
6
+ run_f " detox build -c android.emu.release"
7
+ run_f " detox test -c android.emu.release"
8
+ run_f " detox test -c android.emu.release --specs e2eExplicitRequire --runner-config e2eExplicitRequire/mocha.opts"
9
+ popd
10
+
11
+ pushd examples/demo-react-native-jest
12
+ run_f " detox build -c android.emu.release"
13
+ run_f " detox test -c android.emu.release"
14
+ popd
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
- source $( dirname " $0 " ) /logger.sh
4
-
5
- if [ ! -z ${REACT_NATIVE_VERSION} ]; then
6
- for proj in demo-react-native demo-react-native-jest; do
7
- node scripts/change_react_native_version.js " examples/${proj} " ${REACT_NATIVE_VERSION}
8
- done
9
- fi
10
-
11
- run_f " lerna bootstrap"
3
+ source $( dirname " $0 " ) /demo-projects.sh
12
4
13
5
pushd examples/demo-react-native
14
6
run_f " detox build -c ios.sim.release"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ source $( dirname " $0 " ) /logger.sh
4
+
5
+ if [ ! -z ${REACT_NATIVE_VERSION} ]; then
6
+ for proj in demo-react-native demo-react-native-jest; do
7
+ node scripts/change_react_native_version.js " examples/${proj} " ${REACT_NATIVE_VERSION}
8
+ done
9
+ fi
10
+
11
+ run_f " lerna bootstrap"
You can’t perform that action at this time.
0 commit comments