plugins { id 'java' id 'application' id 'com.github.johnrengelman.shadow' version '5.0.0' id 'com.palantir.git-version' version '0.11.0' } dependencies { implementation 'commons-cli:commons-cli:1.4' //testImplementation 'junit:junit:4.12' } repositories { jcenter() } mainClassName = 'link.infra.packwiz.installer.RequiresBootstrap' version gitVersion() jar { manifest { attributes( 'Main-Class': 'link.infra.packwiz.installer.RequiresBootstrap', 'Implementation-Version': project.version ) } } // Commons CLI is already included in packwiz-installer-bootstrap shadowJar { dependencies { exclude(dependency('commons-cli:commons-cli:1.4')) } }