To run, you can use jar inside build/libs folder java -jar Task9-all.jar -SEARCH=QUERY "how many pcs are there in the world?" -GUI=both to Compile gradle shadowJar