https://kotlinlang.org logo
Title
d

Dron Bhattacharya

02/14/2023, 4:41 PM
is entering the command
gradlew run
in CLI same as clicking the
run
button in Intellij?
s

Sam

02/14/2023, 4:41 PM
Depends on your IntelliJ run configuration 😄
j

Joffrey

02/14/2023, 4:42 PM
This is not really Kotlin-related. But to answer your question, not in general. The run button in IDEA runs the "run configuration" that is selected next to it. You can create a run configuration that runs Gradle's
run
task, though, in which case it will be the same. The configuration can be auto-created if you run Gradle from the Gradle tool window (by double-clicking on one of the tasks on the side)
d

Dron Bhattacharya

02/14/2023, 4:43 PM
ok 👌