-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Update the tutorial build scripts with 1.9.20 APIs #3824
Conversation
the SQLDelight versions of the plugin and the libraries are the same: | ||
|
||
```none | ||
sqlDelightVersion=%sqlDelightVersion% |
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.
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?
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.
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%") |
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.
Is there any reason to specify buildscript dependencies explicitly? I think the explicit version in the plugins block achieves the same goal
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.
I agree, looks better. If it's not used in the sample project, we can remove it
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.
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?
dbdc7da
to
7f08109
Compare
Co-authored-by: Timofey Solonin <[email protected]>
This PR updates this tutorial with 1.9.20 build script APIs. The corresponding updates in the sample: