AppleCommander/lib/ac-api/build.gradle

35 lines
733 B
Groovy
Raw Normal View History

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"
}
2021-12-20 04:11:43 +00:00
tasks.withType(Jar) {
manifest {
attributes 'Implementation-Title': 'AppleCommander',
'Implementation-Version': archiveVersion
}
2021-12-20 04:27:40 +00:00
from('../../LICENSE')
2021-12-20 04:11:43 +00:00
}
2021-12-20 04:13:37 +00:00
javadoc {
title = "AppleCommander ${version}"
source = sourceSets.main.allJava
options.addStringOption('Xdoclint:none', '-quiet')
}
2021-12-20 04:27:40 +00:00
java {
withSourcesJar()
withJavadocJar()
}