Skip to content

More dependency automation and IDEA configuration#65

Merged
dmdashenkov merged 9 commits intomasterfrom
add-more-artifacts
Sep 3, 2020
Merged

More dependency automation and IDEA configuration#65
dmdashenkov merged 9 commits intomasterfrom
add-more-artifacts

Conversation

@dmdashenkov
Copy link
Contributor

@dmdashenkov dmdashenkov commented Sep 3, 2020

In this PR we add some more automation features to the plugin.

Library dependencies

Now, in order to add a Spine library dependency, the user can use API provided by the plugin, instead of specifying artifacts manually. This includes:

  • the Google Cloud Datastore storage implementation:
spine.enableJava {
    withDatastore()
}
  • web API library:
spine.enableJava().webServer()
  • web library with integration over the Firebase Realtime Database:
spine.enableJava().firebaseWebServer()

IDEA configuration

If both Bootstrap and the idea plugin are applied, Bootstrap configures the idea plugin, so that the IDE displays sources and generated sources as expected.

@dmdashenkov dmdashenkov self-assigned this Sep 3, 2020
@dmdashenkov dmdashenkov marked this pull request as ready for review September 3, 2020 10:38
@dmdashenkov
Copy link
Contributor Author

@alexander-yevsyukov, PTAL.

Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov left a comment

Choose a reason for hiding this comment

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

Please see my comment.

@@ -80,6 +84,8 @@ private static ArtifactSnapshot load() {
.setSpineCoreVersion(properties.getProperty("spine.version.core"))
Copy link
Contributor

Choose a reason for hiding this comment

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

Please see if we can have a class which declares these constants and used at both ends.
If it's not easy, please document usage of this constants at both ends: when they generated, and here (consumed), referring to the other end of this trick.

@dmdashenkov
Copy link
Contributor Author

@alexander-yevsyukov, PTAL again.

Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov left a comment

Choose a reason for hiding this comment

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

LGTM

@dmdashenkov dmdashenkov merged commit f428b75 into master Sep 3, 2020
@dmdashenkov dmdashenkov deleted the add-more-artifacts branch September 3, 2020 13:45
@dmitrykuzmin dmitrykuzmin mentioned this pull request Sep 8, 2020
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.

2 participants