Skip to content
This repository was archived by the owner on Nov 2, 2020. It is now read-only.

Commit 2effa76

Browse files
committed
Reconfigured gradle
1 parent b912cc2 commit 2effa76

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

build.gradle

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff 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-
2620
dependencies {
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
}

0 commit comments

Comments
 (0)