forked from TooTallNate/Java-WebSocket
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
44 lines (34 loc) · 849 Bytes
/
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.2.1-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"
}
//deploy to maven repository
//uploadArchives {
// repositories.mavenDeployer {
// configuration = configurations.deployerJars
// repository(url: repositoryUrl) {
// authentication(userName: repositoryUsername, password: repositoryPassword)
// }
// }
//}
task wrapper(type: Wrapper) {
gradleVersion = '1.4'
}