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

Commit

Permalink
Reconfigured gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegorisa committed Dec 26, 2017
1 parent b912cc2 commit 2effa76
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ configurations {
deployerJars
}

configure(install.repositories.mavenInstaller) {
pom.version = project.version
pom.groupId = "com.github.clusterws"
pom.artifactId = 'ClusterWS-Java'
}

dependencies {
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.7.22'
Expand All @@ -31,6 +25,17 @@ dependencies {
deployerJars "org.apache.maven.wagon:wagon-webdav:1.0-beta-2"
}

task wrapper(type: Wrapper) {
gradleVersion = '1.4'
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allJava
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}

artifacts {
archives sourcesJar
archives javadocJar
}

0 comments on commit 2effa76

Please sign in to comment.