Skip to content

Commit

Permalink
fix: added Automatic-Module-Name to manifest file (#479) (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavlyukovskiy authored and typekpb committed Aug 2, 2019
1 parent 1070fed commit e46dcc4
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@ test {
jvmArgs '-Dcom.sun.management.jmxremote', '-Dcom.sun.management.jmxremote.authenticate=false', '-Dcom.sun.management.jmxremote.port=1234', '-Dcom.sun.management.jmxremote.ssl=false', '-Doracle.jdbc.timezoneAsRegion=false', '-Ddb2.jcc.override.traceLevel=0'
}

jar {
inputs.property('moduleName', project.name)
manifest {
attributes('Automatic-Module-Name': project.name)
}
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
Expand Down Expand Up @@ -251,12 +258,12 @@ publishing {
builder.licenses {
builder.license {
builder.name 'The Apache Software License, Version 2.0'
builder.url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
builder.url 'https://www.apache.org/licenses/LICENSE-2.0.txt'
builder.distribution 'repo'
}
}
builder.scm {
builder.url 'http://github.com/p6spy/p6spy'
builder.url 'https://github.com/p6spy/p6spy'
builder.connection 'scm:git:git://github.com/p6spy/p6spy.git'
builder.developerConnection 'scm:git:ssh://github.com:p6spy/p6spy.git'
}
Expand All @@ -273,6 +280,10 @@ publishing {
builder.name 'Felix Barnsteiner'
builder.email 'felix.barnsteiner@isys-software.de'
}
builder.developer {
builder.name 'Arthur Gavlyukovskiy'
builder.email 'agavlyukovskiy@gmail.com'
}
}

// maven central publishing optionals
Expand Down

0 comments on commit e46dcc4

Please sign in to comment.