Gradle bundle works in windows, but not in CentOS 7

I get the following error when I attempt to bundle up the application on CentOS7, but not on windows. Running Gradle 4.6.
gradle bundle

FAILURE: Build failed with an exception.

  • What went wrong:
    Task ‘bundle’ not found in root project ‘oink’.

  • Try:
    Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org