mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-04-19 13:06:30 +02:00
31 lines
580 B
Groovy
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'))
|
|
}
|
|
} |