Rob Elliot
10/28/2020, 11:10 AMfun main() {
println("Hello World")
}
now kicks off a gradle task :MainKt.main()
, the net result of which is that instead of one line of output I get 34 lines of gradle build output.
Is this a new thing? I kind of get that it might be desirable to reuse gradle to ensure that everything’s exactly the same in the IDE as via the build, but surely there’s a way to swallow the build output?wasyl
10/28/2020, 11:13 AM-q
flag to the run command somewhere, this should suppress most Gradle outputRob Elliot
10/28/2020, 11:16 AMRob Elliot
10/28/2020, 11:17 AMRob Elliot
10/28/2020, 11:18 AMspand
10/28/2020, 11:37 AMRob Elliot
10/28/2020, 11:42 AMRob Elliot
10/28/2020, 11:55 AMAlexey Belkov [JB]
11/06/2020, 9:38 AMmain
in a Gradle project, even though for similar Java code a Gradle run configuration was created. In Kotlin 1.4.20 this has been fixed, i.e. it is now consistent with Java. The UX of build output could be improved, I agree. Thanks for the YouTrack report!