Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to AGP 3.0 #102

Merged
merged 2 commits into from
Oct 8, 2017
Merged

Migrate to AGP 3.0 #102

merged 2 commits into from
Oct 8, 2017

Conversation

lwasyl
Copy link
Contributor

@lwasyl lwasyl commented Oct 7, 2017

This migrates to Android Gradle Plugin 3.0.0-beta7 (most recent as of now). This required updating Gradle, which in turn required updating build scan plugin as well.

Issue: #100

I see that the wercker build has failed, might be due to upgraded Gradle - older daemons conflict with the new one sometimes. I can't see build details, but ./gradlew assembleDebug testDebugUnitTest createDebugUnitTestCoverageReport -PdisablePreDex locally works fine after ./gradlew --stop

⬆️ BuildScan plugin to 1.9 for compatibility reasons
Copy link
Owner

@yshrsmz yshrsmz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

it looks like unit tests are failing.
Could you check robolectric's document and add includeAndroidResources thing?

http://robolectric.org/getting-started/#android-studio-30

Migrate configurations (compile -> implementation, provided -> compileOnly).
Adjust output APK renaming script
@lwasyl
Copy link
Contributor Author

lwasyl commented Oct 8, 2017

Sorry for that! I've added the thingy, although tests ran from command line work for me always, so I missed that. Tests ran from AS failed, and now they passed so it should be ok. If not, then maybe I'll need to disable AAPT2 as well

@yshrsmz
Copy link
Owner

yshrsmz commented Oct 8, 2017

👍
Thank you!!!

@yshrsmz yshrsmz merged commit 1765133 into yshrsmz:master Oct 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants