30 lines
675 B
Groovy
30 lines
675 B
Groovy
plugins {
|
|
id 'java-library'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation "net.sf.applecommander:ShrinkItArchive:$shkVersion"
|
|
implementation "org.apache.commons:commons-csv:$commonsCsvVersion"
|
|
implementation "com.google.code.gson:gson:$gsonVersion"
|
|
|
|
testImplementation "junit:junit:$junitVersion"
|
|
}
|
|
|
|
tasks.withType(Jar) {
|
|
manifest {
|
|
attributes 'Implementation-Title': 'AppleCommander',
|
|
'Implementation-Version': archiveVersion
|
|
}
|
|
from('LICENSE')
|
|
}
|
|
|
|
javadoc {
|
|
title = "AppleCommander ${version}"
|
|
source = sourceSets.main.allJava
|
|
options.addStringOption('Xdoclint:none', '-quiet')
|
|
}
|