Skip to content

Commit ab9bf81

Browse files
committed
convert to gradle based build, move source from src to src/main/java,
get json dependency from maven central
1 parent 0341851 commit ab9bf81

File tree

7 files changed

+24
-0
lines changed

7 files changed

+24
-0
lines changed

build.gradle

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apply plugin: 'java'
2+
apply plugin: 'eclipse'
3+
4+
sourceCompatibility = 1.6
5+
version = '1.0'
6+
7+
repositories {
8+
mavenCentral()
9+
}
10+
11+
dependencies {
12+
compile files(projectDir.getAbsolutePath() + '/lib/WebSocket.jar')
13+
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
14+
compile group: 'org.json', name: 'json', version: '20090211'
15+
testCompile group: 'junit', name: 'junit', version: '4.10'
16+
}
17+
18+
uploadArchives {
19+
repositories {
20+
flatDir {
21+
dirs 'repos'
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)