packwiz-installer/build.gradle

31 lines
580 B
Groovy

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