Skip to content

Commit 6464a82

Browse files
committed
Android tests: do not clean Gradle caches between tests
1 parent fbc5ebd commit 6464a82

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ class RNAndroid extends Platform.Android implements RNPlatform {
168168
*/
169169
buildFunction(androidDirectory: string): Q.Promise<void> {
170170
const gradlewCommand = process.platform === "darwin" || process.platform === "linux" ? "./gradlew" : "gradlew";
171-
return TestUtil.getProcessOutput(`${gradlewCommand} clean`, { noLogStdOut: true, cwd: androidDirectory })
172-
.then(() => TestUtil.getProcessOutput(`${gradlewCommand} assembleRelease --daemon`, { noLogStdOut: true, cwd: androidDirectory }))
171+
return TestUtil.getProcessOutput(`${gradlewCommand} assembleRelease`, { noLogStdOut: true, cwd: androidDirectory })
173172
.then(() => { return null; });
174173
}
175174

0 commit comments

Comments
 (0)