Commit ad968447 authored by acoburn's avatar acoburn
Browse files

update build

parent 6ba437fe
...@@ -19,6 +19,8 @@ allprojects { ...@@ -19,6 +19,8 @@ allprojects {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
} }
} }
afterReleaseBuild.dependsOn uploadArchives
} }
subprojects { subprojects {
...@@ -95,6 +97,21 @@ subprojects { ...@@ -95,6 +97,21 @@ subprojects {
into 'build/cfg/main' into 'build/cfg/main'
} }
task sourceJar(type: Jar) {
classifier 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar) {
classifier 'javadoc'
from javadoc
}
artifacts {
archives javadocJar
archives sourceJar
}
classes { classes {
classes.dependsOn processConfig classes.dependsOn processConfig
} }
...@@ -117,6 +134,7 @@ subprojects { ...@@ -117,6 +134,7 @@ subprojects {
publications { publications {
maven(MavenPublication) { maven(MavenPublication) {
from components.java from components.java
artifact sourceJar
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment