how to read input into main class variables from console to run as gradle project | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

how to read input into main class variables from console to run as gradle project

i want to read inputs from user using console screen and pass those inputs to variable of main class but when i run my application using gradle run, it wont wait for inputs and throws error

23rd Jul 2020, 10:35 AM
raju sahu
1 Respuesta
0
i got my answer from one of the sites in internet it said use run{} enclosure in build.gradle and add
28th Jul 2020, 10:09 AM
raju sahu