AppleCommander/lib/ac-api/build.gradle

35 lines
733 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')
}
java {
withSourcesJar()
withJavadocJar()
}