https://kotlinlang.org logo
#getting-started
Title
# getting-started
c

cheeze2000

06/21/2022, 4:40 PM
i have two gradle tasks,
./gradlew build
and
./gradlew run
. is it possible to specify
--console=plain
inside the
build.gradle.kts
file on one of them so i don't have to keep typing the flag?
k

Klitos Kyriacou

06/21/2022, 5:02 PM
You can put
org.gradle.console=plain
in your
gradle.properties
file.
c

cheeze2000

06/21/2022, 11:08 PM
but that would apply to all the tasks. i only want it to apply to one task
4 Views