File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,30 @@ dependencies {
3434 )
3535}
3636
37+ task sourcesJar (type : Jar , dependsOn : classes) {
38+ classifier = ' sources'
39+ from sourceSets. main. allSource
40+ }
41+
42+ task javadocJar (type : Jar , dependsOn : javadoc) {
43+ classifier = ' javadoc'
44+ from javadoc. destinationDir
45+ }
46+
47+ artifacts {
48+ archives sourcesJar
49+ archives javadocJar
50+ }
51+
52+ javadoc {
53+ options. encoding = ' UTF-8'
54+ options. charSet = options. encoding
55+ }
56+
3757test {
3858 useTestNG()
3959}
4060
4161task wrapper (type : Wrapper ) {
42- gradleVersion = ' 2.4 '
62+ gradleVersion = ' 2.5 '
4363}
Original file line number Diff line number Diff line change 1- # Thu Jul 02 13:50:26 CEST 2015
1+ # Wed Jul 08 14:25:52 CEST 2015
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-2.4 -bin.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-2.5 -bin.zip
You can’t perform that action at this time.
0 commit comments