|
|
|
@ -37,6 +37,27 @@ ext {
@@ -37,6 +37,27 @@ ext {
|
|
|
|
|
jettyVersion = '9.3.5.v20151012' |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
javadoc { |
|
|
|
|
options.author = true |
|
|
|
|
options.addStringOption('Xdoclint:none', '-quiet') |
|
|
|
|
options.links 'http://docs.oracle.com/javase/8/docs/api/' |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) { |
|
|
|
|
classifier = 'sources' |
|
|
|
|
from sourceSets.main.allSource |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
task javadocJar(type: Jar, dependsOn: javadoc) { |
|
|
|
|
classifier = 'javadoc' |
|
|
|
|
from javadoc.destinationDir |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
artifacts { |
|
|
|
|
archives sourcesJar |
|
|
|
|
archives javadocJar |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
|
compile "org.springframework:spring-core:${springVersion}" |
|
|
|
|
compile "org.springframework:spring-web:${springVersion}" |
|
|
|
@ -66,6 +87,9 @@ dependencies {
@@ -66,6 +87,9 @@ dependencies {
|
|
|
|
|
exclude group: 'org.hamcrest', module: 'hamcrest-core' |
|
|
|
|
} |
|
|
|
|
testCompile("org.hamcrest:hamcrest-all:1.3") |
|
|
|
|
|
|
|
|
|
// Needed to run Javadoc without error |
|
|
|
|
optional("org.apache.httpcomponents:httpclient:4.5.1") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|