Skip to content

Commit 8a81b8e

Browse files
authored
Merge pull request #4 from bitrise-io/push-okooottllpnx
Android tests: do not clean Gradle caches between tests
2 parents fbc5ebd + 6464a82 commit 8a81b8e

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)