-
Notifications
You must be signed in to change notification settings - Fork 616
Output artifact list during local publishing. #515
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
Conversation
fc6c8fc
to
dc3c3ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added one initial comment, still reviewing the rest
buildSrc/src/main/groovy/com/google/firebase/gradle/plugins/publish/PublishingPlugin.groovy
Outdated
Show resolved
Hide resolved
buildSrc/src/main/groovy/com/google/firebase/gradle/plugins/publish/PublishingPlugin.groovy
Outdated
Show resolved
Hide resolved
dc3c3ed
to
8c65245
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking out loud.
Do you mind extracting all this logic into a dedicated plugin to keep plugins cohesive? As we've historically had problems with putting too much unrelated code into plugins, making them harder to test and maintain.
Additionally I think it makes sense to have the json file generated only if requested on the command line explicitly, e.g. smoke tests could run
./gradlew generateChangedArtifactNames publishAllToBuildDir
wdyt?
This effort replaces #494.
8c65245
to
6afd1e8
Compare
@vkryachko PTAL |
…sts for it. (#524) * Add type arguments in StorageTaskManager (#517) * Output artifact list during local publishing. (#515) This effort replaces #494. * Implement Firebase segmentation SDK device local cache * fix functions (#523) * fix functions * update minsdk version * remove idea * Set test type to release only in CI. (#522) * Set test type to release only in CI. This fixes Android Studio issue, where it is impossible to run integration tests in debug mode. Additionally move build type configuration to FirebaseLibraryPlugin to avoid projects.all configuration in gradle. * Add comment back. * [Firebase Segmentation] Add custom installation id cache layer and tests for it. * Add test for updating cache * Switch to use SQLiteOpenHelper * Minor fix to error message to match the admin sdk. (#525) * Minor fix to error message to match the admin sdk. In particular, it *is* allowed to have slashes, etc in field paths. * Added clean task to smoke tests. (#527) This change allows the smoke tests to clean all build variants created by the infrastructure. * Update deps to post-androidx gms versions. (#526) * Update deps to post-androidx gms versions. Additionally configure sources.jar for SDKs. * Update functions-ktx deps * Fix versions. * unbump fiam version in fiamui-app * Switch to use SharedPreferences from SQLite. * Change the cache class to be singleton * Copy firebase-firestore-ktx dependencies on firestore into its own subfolder (#528) * Wrap shared pref commit in a async task. * Address comments * Bump firestore version for release (#530) Additionally fix pom filter to exclude multidex from deps. * Google format fix
This effort replaces #494 by generating a list of artifacts instead of selectively publishing them. The
publishAllToBuildDir
task now produces an extra JSON file containing the names of all published artifacts. It also includes the artifacts that are affected by the most recent commit.Our compatibility testing infrastructure will be able to use this listing to build two variants of the tests: one against head and the other against the latest release (except for the affected artifacts).