Programming for fun and profit

Programming tutorials, problems, solutions. Always with code.

Gradle continue build even with failed tests

When Gradle is building a project then by default it will fail when any of build tasks fails. But sometimes we may want Gradle to continue build even with failed tests.

Read More

Share with the World!

Gradle System.out err print

Problem:

When running a test with Gradle and trying to print to System.out or System.err nothing happens. How to make Gradle to display standard output?

Read More

Share with the World!

Gradle Java version

Gradle is using default Java version when compiling source code and producing bytecode. How to tell Gradle version of Java source code and expected version of bytecode?

Read More

Share with the World!