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

MBS-10881 update to gradle 7.2 #1167

Merged
merged 1 commit into from
Aug 16, 2021
Merged

MBS-10881 update to gradle 7.2 #1167

merged 1 commit into from
Aug 16, 2021

Conversation

dsvoronin
Copy link
Contributor

https://docs.gradle.org/7.2-rc-2/release-notes.html

also update detekt to 1.18.0, because of kotlin 1.5 dependency
disable "ArgumentListWrapping" rule, different behavior
fix "ImportOrdering" rule

@dsvoronin
Copy link
Contributor Author

Waiting for release version

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-2-all.zip
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-3-all.zip

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed, thanks

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-2-all.zip
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-3-all.zip

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@@ -106,7 +106,8 @@ abstract class InHouseInstrumentationTestRunner :
)
}

@Suppress("MemberVisibilityCanBePrivate") // Public for *TestApp to skip on orchestrator runs
// Public for *TestApp to skip on orchestrator runs
@Suppress("MemberVisibilityCanBePrivate")
Copy link
Contributor

Choose a reason for hiding this comment

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

Already fixed here
pinterest/ktlint#1168

id("io.gitlab.arturbosch.detekt") version "1.16.0"
// accessing version catalog here is blocked by IDE false-postive error
// https://youtrack.jetbrains.com/issue/KTIJ-19369
id("io.gitlab.arturbosch.detekt") version "1.18.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the jetbrains-kotlin-html repo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -262,8 +262,9 @@ formatting:
active: false
AnnotationSpacing:
active: true
# todo fix and enable
ArgumentListWrapping:
Copy link
Contributor

Choose a reason for hiding this comment

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

pinterest/ktlint#1196
This is fixed too

Copy link
Contributor

Choose a reason for hiding this comment

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

That's why I didn't update the Detekt version here :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to run ktlint separately i think
MBS-11763

@dsvoronin dsvoronin force-pushed the MBS-10881-gradle72 branch 2 times, most recently from e7d2db1 to ed3396c Compare August 16, 2021 10:04
https://docs.gradle.org/7.2-rc-2/release-notes.html

also update detekt to 1.18.0, because of kotlin 1.5 dependency
disable "ArgumentListWrapping" rule, different behavior
fix "ImportOrdering" rule

remove kotlinx-html dependency
@dsvoronin dsvoronin marked this pull request as ready for review August 16, 2021 10:04
@dsvoronin
Copy link
Contributor Author

I think it's safe to merge now;
will update to stable version when it's available

@RuslanMingaliev
Copy link
Contributor

Close also MBS-11267

@dsvoronin dsvoronin enabled auto-merge (squash) August 16, 2021 10:28
@dsvoronin dsvoronin merged commit 11f7665 into develop Aug 16, 2021
@dsvoronin dsvoronin deleted the MBS-10881-gradle72 branch August 16, 2021 10:36
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