Skip to content

Commit 25af097

Browse files
committed
Remove unused code and clean up build.gradle
1 parent b083428 commit 25af097

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

‎build.gradle‎

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
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

67
repositories{
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

2629
dependencies{
@@ -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-
//}

0 commit comments

Comments
(0)