This repository was archived by the owner on Nov 2, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,6 @@ configurations {
1717 deployerJars
1818}
1919
20- configure(install. repositories. mavenInstaller) {
21- pom. version = project. version
22- pom. groupId = " com.github.clusterws"
23- pom. artifactId = ' ClusterWS-Java'
24- }
25-
2620dependencies {
2721 testCompile ' junit:junit:4.12'
2822 testCompile ' org.mockito:mockito-core:2.7.22'
@@ -31,6 +25,17 @@ dependencies {
3125 deployerJars " org.apache.maven.wagon:wagon-webdav:1.0-beta-2"
3226}
3327
34- task wrapper (type : Wrapper ) {
35- gradleVersion = ' 1.4'
28+ task sourcesJar (type : Jar , dependsOn : classes) {
29+ classifier = ' sources'
30+ from sourceSets. main. allJava
31+ }
32+
33+ task javadocJar (type : Jar , dependsOn : javadoc) {
34+ classifier = ' javadoc'
35+ from javadoc. destinationDir
36+ }
37+
38+ artifacts {
39+ archives sourcesJar
40+ archives javadocJar
3641}
You can’t perform that action at this time.
0 commit comments