mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 09:20:04 +01:00
build.gradle: Declare Automatic-Module-Name entry in MANIFEST.MF to make bitcoinj-core compatible to Java9 modules.
This commit is contained in:
parent
170cc80e45
commit
98c5e42517
1 changed files with 9 additions and 0 deletions
|
@ -45,6 +45,15 @@ test {
|
|||
}
|
||||
}
|
||||
|
||||
ext.moduleName = 'org.bitcoinj.core'
|
||||
|
||||
jar {
|
||||
inputs.property("moduleName", moduleName)
|
||||
manifest {
|
||||
attributes 'Automatic-Module-Name': moduleName
|
||||
}
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||
classifier = 'javadoc'
|
||||
from javadoc.destinationDir
|
||||
|
|
Loading…
Add table
Reference in a new issue