Skip to content

Commit 66c6a0d

Browse files
committed
Add comments
1 parent 5317b91 commit 66c6a0d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

components/gitpod-cli/cmd/jetbrains-gradle-pause.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import (
1010
"github.com/spf13/cobra"
1111
)
1212

13+
// Note: This location is used on GradleSyncListener.kt
14+
// https://github.com/gitpod-io/gitpod/blob/5317b915e409968af72bd857aa69b3ebf10b6698/components/ide/jetbrains/backend-plugin/src/main/kotlin/io/gitpod/jetbrains/remote/listeners/GradleSyncListener.kt#L24
1315
const gradleSyncLockFile = "/tmp/gitpod-gradle.lock"
1416

1517
var jetbrainsGradlePauseCmd = &cobra.Command{

components/ide/jetbrains/backend-plugin/src/main/kotlin/io/gitpod/jetbrains/remote/listeners/GradleSyncListener.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class GradleSyncListener : ExternalSystemTaskNotificationListener {
2121
if (id.projectSystemId.toString() != "GRADLE" || id.type != ExternalSystemTaskType.RESOLVE_PROJECT) {
2222
return
2323
}
24+
// Note: This file is written by the GP CLI
25+
// https://github.com/gitpod-io/gitpod/blob/5317b915e409968af72bd857aa69b3ebf10b6698/components/gitpod-cli/cmd/jetbrains-gradle-pause.go#L1
2426
val lockFile = File("/tmp/gitpod-gradle.lock")
2527
if (!lockFile.exists()) {
2628
return

0 commit comments

Comments
 (0)