1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
apply plugin: 'osgi'
version = rootProject.version
dependencies {
testImplementation(group: 'junit', name: 'junit', version: '4.12') {
transitive = false
}
}
jar {
manifest {
attributes 'Implementation-Title': project.name,
'Implementation-Vendor': 'hamcrest.org',
'Implementation-Version': version,
'Automatic-Module-Name': 'org.hamcrest'
instruction 'Import-Package', '''javax.xml.namespace; resolution:=optional,
javax.xml.xpath; resolution:=optional,
org.w3c.dom; resolution:=optional,
*'''
}
}
javadoc.title = "Hamcrest $version API"
|