forked from TooTallNate/Java-WebSocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (35 loc) · 1.04 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
repositories {
mavenLocal()
mavenCentral()
}
group = 'org.java-websocket'
version = '1.5.2-SNAPSHOT'
sourceCompatibility = 1.6
targetCompatibility = 1.6
configurations {
deployerJars
}
configure(install.repositories.mavenInstaller) {
pom.version = project.version
pom.groupId = "org.java-websocket"
pom.artifactId = 'Java-WebSocket'
}
dependencies {
deployerJars "org.apache.maven.wagon:wagon-webdav:1.0-beta-2"
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
testCompile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.json', name: 'json', version: '20180813'
}
//deploy to maven repository
//uploadArchives {
// repositories.mavenDeployer {
// configuration = configurations.deployerJars
// repository(url: repositoryUrl) {
// authentication(userName: repositoryUsername, password: repositoryPassword)
// }
// }
//}