File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- apply plugin : ' java'
2- apply plugin : ' idea'
3- apply plugin : ' maven'
4-
1+ plugins {
2+ id ' java'
3+ id ' idea'
4+ id ' maven'
5+ }
56
67repositories {
78 mavenLocal()
@@ -17,10 +18,12 @@ configurations {
1718 deployerJars
1819}
1920
20- configure(install. repositories. mavenInstaller) {
21- pom. version = project. version
22- pom. groupId = " org.java-websocket"
23- pom. artifactId = ' Java-WebSocket'
21+ install {
22+ repositories. mavenInstaller {
23+ pom. version = project. version
24+ pom. groupId = project. group
25+ pom. artifactId = ' Java-WebSocket'
26+ }
2427}
2528
2629dependencies {
@@ -30,14 +33,3 @@ dependencies {
3033 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
3134 testCompile group : ' org.json' , name : ' json' , version : ' 20180813'
3235}
33-
34-
35- // deploy to maven repository
36- // uploadArchives {
37- // repositories.mavenDeployer {
38- // configuration = configurations.deployerJars
39- // repository(url: repositoryUrl) {
40- // authentication(userName: repositoryUsername, password: repositoryPassword)
41- // }
42- // }
43- // }
You can’t perform that action at this time.
0 commit comments