File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' java'
33 id ' idea'
4- id ' maven'
4+ id ' maven-publish '
55}
66
77repositories {
@@ -14,10 +14,6 @@ version = '1.5.2-SNAPSHOT'
1414sourceCompatibility = 1.7
1515targetCompatibility = 1.7
1616
17- configurations {
18- deployerJars
19- }
20-
2117compileJava {
2218 options. compilerArgs + = [' -encoding' , ' UTF-8' ]
2319}
@@ -26,16 +22,19 @@ javadoc {
2622 options. encoding = ' UTF-8'
2723}
2824
29- install {
30- repositories. mavenInstaller {
31- pom. version = project. version
32- pom. groupId = project. group
33- pom. artifactId = ' Java-WebSocket'
25+ publishing {
26+ publications {
27+ maven(MavenPublication ) {
28+ groupId = project. group
29+ artifactId = ' Java-WebSocket'
30+ version = project. version
31+
32+ from components. java
33+ }
3434 }
3535}
3636
3737dependencies {
38- deployerJars " org.apache.maven.wagon:wagon-webdav:1.0-beta-2"
3938 compile group : ' org.slf4j' , name : ' slf4j-api' , version : ' 1.7.25'
4039 testCompile group : ' org.slf4j' , name : ' slf4j-simple' , version : ' 1.7.25'
4140 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
You can’t perform that action at this time.
0 commit comments