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

Update to AGP 8/Gradle 8 #117

Merged
merged 70 commits into from
Apr 15, 2023
Merged

Update to AGP 8/Gradle 8 #117

merged 70 commits into from
Apr 15, 2023

Conversation

ZacSweers
Copy link
Collaborator

@ZacSweers ZacSweers commented Feb 2, 2023

Going off this recipe: https://github.com/android/gradle-recipes/tree/agp-8.0/Groovy/getAllClassesTest

Other stuff

  • Update CI to use ATDs (faster)
  • Update build infra to use more modern gradle APIs (toolchains, version catalogs, dependency management in settings.gradle, etc)
  • Seems proguard files are no longer accessible to androidTest variants, filed https://issuetracker.google.com/issues/269089136
    • Workaround now is to use artifactFiles instead of resolved artifacts
  • Fix configuration caching in tests with latest gradle version
  • Add an opt-out mechanism for consuming test proguard rules as it seems to not convey a relevant task dependency

Resolves #109

@ZacSweers
Copy link
Collaborator Author

oh my god it's working

@ZacSweers ZacSweers marked this pull request as ready for review February 24, 2023 22:42
@ZacSweers
Copy link
Collaborator Author

ZacSweers commented Mar 1, 2023

I've published a 0.14.0-alpha04 with the changed up to this point in the PR

@ZacSweers ZacSweers merged commit 5b9d59c into main Apr 15, 2023
3 checks passed
@ZacSweers ZacSweers deleted the z/agp8 branch April 15, 2023 21:52
@ZacSweers
Copy link
Collaborator Author

So much better

Screenshot 2023-04-15 at 10 37 57 PM

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.

ClassNotFoundException for MultipleArtifact.ALL_CLASSES_DIR with AGP 8.0.0-alpha09
2 participants