-
Notifications
You must be signed in to change notification settings - Fork 17
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
Switched UpdateEapBuildNumber to Kotlin #1006
Switched UpdateEapBuildNumber to Kotlin #1006
Conversation
Need to delete spotless for groovy and other groovy left-overs. |
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/SpotlessConfigurator.kt
Show resolved
Hide resolved
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateEapBuildNumber.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateEapBuildNumber.kt
Show resolved
Hide resolved
@Internal | ||
var intellijSnapshotsUrl: String = "https://www.jetbrains.com/intellij-repository/snapshots/" | ||
|
||
@Internal |
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.
Hmm if not marked as @Internal
... will it automatically be interpreted as @Input
or @Output
? how does @Internal
var differ from an annotation-less var?
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.
If no annotation is found gradle throws an error - Gradle Docs
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.
Cool picture description from Gradle Docs
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateEapBuildNumber.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateEapBuildNumber.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateEapBuildNumber.kt
Outdated
Show resolved
Hide resolved
…ateEapBuildNumber.kt Co-authored-by: Paweł Lipski <[email protected]>
…ateEapBuildNumber.kt Co-authored-by: Paweł Lipski <[email protected]>
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateEapBuildNumber.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateEapBuildNumber.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateEapBuildNumber.kt
Outdated
Show resolved
Hide resolved
Btw the PR doesn't need to a draft anymore; drafts are typically used to mean "not ready for a detailed review, only for an overall look" |
buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateEapBuildNumber.kt
Show resolved
Hide resolved
@@ -2,23 +2,19 @@ import com.virtuslab.gitmachete.buildsrc.UpdateEapBuildNumber.Companion.buildNum | |||
import org.junit.Test | |||
|
|||
class BuildNumberComparisonTest { |
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 this test triggered anywhere in our current CI pipeline?
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.
AFAIC gradle runs all things marked with '@ Test' during build task.
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.
Okay, so if you fail a test in buildSrc on purpose, the entire build is broken? that's what really matters here (so that we don't overlook a failure)
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, the build task fails.
No description provided.