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 the tutorial build scripts with 1.9.20 APIs #3824

Merged

Conversation

abdulowork
Copy link
Collaborator

@abdulowork abdulowork commented Oct 11, 2023

This PR updates this tutorial with 1.9.20 build script APIs. The corresponding updates in the sample:

the SQLDelight versions of the plugin and the libraries are the same:

```none
sqlDelightVersion=%sqlDelightVersion%
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I couldn't find a reference to this property anywhere. Could it have been left by accident from an earlier tutorial revision or did I miss something?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I guess it's something old. If it's not used in the sample project, we can remove it


dependencies {
// ...
classpath("com.squareup.sqldelight:gradle-plugin:%sqlDelightVersion%")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is there any reason to specify buildscript dependencies explicitly? I think the explicit version in the plugins block achieves the same goal

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree, looks better. If it's not used in the sample project, we can remove it

Copy link
Contributor

@danil-pavlov danil-pavlov left a comment

Choose a reason for hiding this comment

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

Since these changes concern 1.9.20, we're gonna merge them along the 1.9.20 docs update. could you rebase your branch to 1-9-20-docs?

@danil-pavlov danil-pavlov merged commit 1cf4b5d into JetBrains:1-9-20-docs Oct 20, 2023
koshachy pushed a commit that referenced this pull request Oct 27, 2023
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.

3 participants