Adding Classes to the JAR File's Classpath

How do I edit or access the Class-Path header?

https://docs.oracle.com/javase/tutorial/deployment/jar/downman.html

For an app started with:

gradle init --type java-application

which can be run with gradle run or assemble.

(Using Kotlin DSL)