Publish all generated Java bytecode jar archives

Previously we were only publishing source archives.  This fixes
wala/WALA#326 if I got everything right on the first try.  More likely
is that we will need a few rounds of revision before it's all doing
what it should.  For example, we may need to customize aspects of the
Gradle-generated "*.pom" files as described at
<https://docs.gradle.org/current/userguide/publishing_maven.html#sec:identity_values_in_the_generated_pom>
and
<https://docs.gradle.org/current/userguide/publishing_maven.html#sec:modifying_the_generated_pom>.
This commit is contained in:
Ben Liblit 2018-07-12 18:17:02 -05:00 committed by Manu Sridharan
parent 2b1d82d1bb
commit c242f6126c
1 changed files with 6 additions and 0 deletions

View File

@ -77,6 +77,12 @@ subprojects { subproject ->
jar.manifest.from('META-INF/MANIFEST.MF')
publishing.publications {
mavenJava(MavenPublication) {
from components.java
}
}
task afterEclipseBuildshipImport(dependsOn: processTestResources)
task prepareIntelliJIDEA