plugins { id 'application' } application { applicationDefaultJvmArgs = ["-enableassertions"] } run { // Pass all system properties down to the "application" run systemProperties System.getProperties() }