added javadoc and source jar to publication
This commit is contained in:
@@ -36,8 +36,11 @@ dependencies {
|
|||||||
pathClassloaderTest group: 'com.google.inject', name: 'guice', version: getProperty('guice.version')
|
pathClassloaderTest group: 'com.google.inject', name: 'guice', version: getProperty('guice.version')
|
||||||
}
|
}
|
||||||
|
|
||||||
compileJava {
|
java {
|
||||||
options.release = 8
|
sourceCompatibility = JavaVersion.VERSION_11
|
||||||
|
targetCompatibility = JavaVersion.VERSION_11
|
||||||
|
withJavadocJar()
|
||||||
|
withSourcesJar()
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
@@ -47,6 +50,7 @@ jar {
|
|||||||
])
|
])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskProvider<Zip> pathClassLoaderTestBundleTask = tasks.register("pathClassLoaderTestBundle", Zip) {
|
TaskProvider<Zip> pathClassLoaderTestBundleTask = tasks.register("pathClassLoaderTestBundle", Zip) {
|
||||||
from(configurations.pathClassloaderTest)
|
from(configurations.pathClassloaderTest)
|
||||||
archiveBaseName = "pathClassLoaderTestBundle"
|
archiveBaseName = "pathClassLoaderTestBundle"
|
||||||
|
Reference in New Issue
Block a user