Set baseName values for jar{} and shadowJar{}.