Skip to content

Move targetSdk configuration from AndroidManifest to build.gradle. Fix running Unit test from Gradle#529

Closed
colriot wants to merge 1 commit into
facebook:masterfrom
colriot:export-D14853883
Closed

Move targetSdk configuration from AndroidManifest to build.gradle. Fix running Unit test from Gradle#529
colriot wants to merge 1 commit into
facebook:masterfrom
colriot:export-D14853883

Conversation

@colriot

@colriot colriot commented Apr 9, 2019

Copy link
Copy Markdown
Contributor

Summary:
Gradle sync is broken, because build config doesn't support setting minSdkVersion and targetSdkVersion in
AndroidManifest for a long time. We need to move these config params to build.gradle, but this will break our
Unit test execution, because of the old Robolectric version which relies on AndroidManifest. Fix TestRunner
accordingly. Closes #515

Differential Revision: D14853883

@colriot colriot force-pushed the export-D14853883 branch from 220f3c7 to 9d2e301 Compare April 9, 2019 16:34
colriot added a commit to colriot/litho that referenced this pull request Apr 9, 2019
…x running Unit test from Gradle (facebook#529)

Summary:
Pull Request resolved: facebook#529

Gradle sync is broken, because build config doesn't support setting `minSdkVersion` and `targetSdkVersion` in
AndroidManifest for a long time. We need to move these config params to `build.gradle`, but this will break our
Unit test execution, because of the old Robolectric version which relies on AndroidManifest. Fix TestRunner
accordingly. Closes facebook#515

Differential Revision: D14853883

fbshipit-source-id: ac0817682b785ea55612e28cd4efa8f8fd70177b
@colriot colriot force-pushed the export-D14853883 branch from 9d2e301 to 8a6dfa5 Compare April 9, 2019 16:35
colriot added a commit to colriot/litho that referenced this pull request Apr 9, 2019
…x running Unit test from Gradle (facebook#529)

Summary:
Pull Request resolved: facebook#529

Gradle sync is broken, because build config doesn't support setting `minSdkVersion` and `targetSdkVersion` in
AndroidManifest for a long time. We need to move these config params to `build.gradle`, but this will break our
Unit test execution, because of the old Robolectric version which relies on AndroidManifest. Fix TestRunner
accordingly. Closes facebook#515

Differential Revision: D14853883

fbshipit-source-id: 4d7ae9e47e36543544ea6e5ec79c7356bb208466
colriot added a commit to colriot/litho that referenced this pull request Apr 10, 2019
…x running Unit test from Gradle (facebook#529)

Summary:
Pull Request resolved: facebook#529

Gradle sync is broken, because build config doesn't support setting `minSdkVersion` and `targetSdkVersion` in
AndroidManifest for a long time. We need to move these config params to `build.gradle`, but this will break our
Unit test execution, because of the old Robolectric version which relies on AndroidManifest. Fix TestRunner
accordingly. Closes facebook#515

Differential Revision: D14853883

fbshipit-source-id: 91f185e14078b71b81bdc5e8b39de2a0b8e53b70
colriot added a commit to colriot/litho that referenced this pull request Apr 10, 2019
…x running Unit test from Gradle (facebook#529)

Summary:
Pull Request resolved: facebook#529

Gradle sync is broken, because build config doesn't support setting `minSdkVersion` and `targetSdkVersion` in
AndroidManifest for a long time. We need to move these config params to `build.gradle`, but this will break our
Unit test execution, because of the old Robolectric version which relies on AndroidManifest. Fix TestRunner
accordingly. Closes facebook#515

Differential Revision: D14853883

fbshipit-source-id: 8ae8dee85bcb8c5a1e3e0c4ee90315672c56db56
colriot added a commit to colriot/litho that referenced this pull request Apr 10, 2019
…x running Unit test from Gradle (facebook#529)

Summary:
Pull Request resolved: facebook#529

Gradle sync is broken, because build config doesn't support setting `minSdkVersion` and `targetSdkVersion` in
AndroidManifest for a long time. We need to move these config params to `build.gradle`, but this will break our
Unit test execution, because of the old Robolectric version which relies on AndroidManifest. Fix TestRunner
accordingly. Closes facebook#515

Differential Revision: D14853883

fbshipit-source-id: 25ff8bb2c5488bcebcc18044444e93093dcda7f3
colriot added a commit to colriot/litho that referenced this pull request Apr 10, 2019
…x running Unit test from Gradle (facebook#529)

Summary:
Pull Request resolved: facebook#529

Gradle sync is broken, because build config doesn't support setting `minSdkVersion` and `targetSdkVersion` in
AndroidManifest for a long time. We need to move these config params to `build.gradle`, but this will break our
Unit test execution, because of the old Robolectric version which relies on AndroidManifest. Fix TestRunner
accordingly. Closes facebook#515

Differential Revision: D14853883

fbshipit-source-id: f0a4690ac5f18d38640694f6641c0495150c61a6
…x running Unit test from Gradle (facebook#529)

Summary:
Pull Request resolved: facebook#529

Gradle sync is broken, because build config doesn't support setting `minSdkVersion` and `targetSdkVersion` in
AndroidManifest for a long time. We need to move these config params to `build.gradle`, but this will break our
Unit test execution, because of the old Robolectric version which relies on AndroidManifest. Fix TestRunner
accordingly. Closes facebook#515

Reviewed By: passy

Differential Revision: D14853883

fbshipit-source-id: b695521fd8512304443891c4b1745a2f102e6422
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in a92018a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants