Skip to content

Commit 18d61c8

Browse files
initial structure
0 parents  commit 18d61c8

14 files changed

+1119
-0
lines changed

.gitignore

+147
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### Java template
3+
*.class
4+
5+
# Mobile Tools for Java (J2ME)
6+
.mtj.tmp/
7+
8+
# Package Files #
9+
*.jar
10+
*.war
11+
*.ear
12+
13+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
14+
hs_err_pid*
15+
### Scala template
16+
*.log
17+
18+
# sbt specific
19+
.cache
20+
.history
21+
.lib/
22+
dist/*
23+
target/
24+
lib_managed/
25+
src_managed/
26+
project/boot/
27+
project/plugins/project/
28+
29+
# Scala-IDE specific
30+
.scala_dependencies
31+
.worksheet
32+
### Windows template
33+
# Windows image file caches
34+
Thumbs.db
35+
ehthumbs.db
36+
37+
# Folder config file
38+
Desktop.ini
39+
40+
# Recycle Bin used on file shares
41+
$RECYCLE.BIN/
42+
43+
# Windows Installer files
44+
*.cab
45+
*.msi
46+
*.msm
47+
*.msp
48+
49+
# Windows shortcuts
50+
*.lnk
51+
### Eclipse template
52+
*.pydevproject
53+
.metadata
54+
.gradle
55+
bin/
56+
tmp/
57+
*.tmp
58+
*.bak
59+
*.swp
60+
*~.nib
61+
local.properties
62+
.settings/
63+
.loadpath
64+
65+
# Eclipse Core
66+
.project
67+
68+
# External tool builders
69+
.externalToolBuilders/
70+
71+
# Locally stored "Eclipse launch configurations"
72+
*.launch
73+
74+
# CDT-specific
75+
.cproject
76+
77+
# JDT-specific (Eclipse Java Development Tools)
78+
.classpath
79+
80+
# Java annotation processor (APT)
81+
.factorypath
82+
83+
# PDT-specific
84+
.buildpath
85+
86+
# sbteclipse plugin
87+
.target
88+
89+
# TeXlipse plugin
90+
.texlipse
91+
### JetBrains template
92+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
93+
94+
*.iml
95+
96+
## Directory-based project format:
97+
.idea/
98+
# if you remove the above rule, at least ignore the following:
99+
100+
# User-specific stuff:
101+
# .idea/workspace.xml
102+
# .idea/tasks.xml
103+
# .idea/dictionaries
104+
105+
# Sensitive or high-churn files:
106+
# .idea/dataSources.ids
107+
# .idea/dataSources.xml
108+
# .idea/sqlDataSources.xml
109+
# .idea/dynamic.xml
110+
# .idea/uiDesigner.xml
111+
112+
# Gradle:
113+
# .idea/gradle.xml
114+
# .idea/libraries
115+
116+
# Mongo Explorer plugin:
117+
# .idea/mongoSettings.xml
118+
119+
## File-based project format:
120+
*.ipr
121+
*.iws
122+
123+
## Plugin-specific files:
124+
125+
# IntelliJ
126+
/out/
127+
128+
# mpeltonen/sbt-idea plugin
129+
.idea_modules/
130+
131+
# JIRA plugin
132+
atlassian-ide-plugin.xml
133+
134+
# Crashlytics plugin (for Android Studio and IntelliJ)
135+
com_crashlytics_export_strings.xml
136+
crashlytics.properties
137+
crashlytics-build.properties
138+
139+
### Gradle template
140+
build/
141+
142+
# Ignore Gradle GUI config
143+
gradle-app.setting
144+
145+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
146+
!gradle-wrapper.jar
147+

.travis.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
sudo: required
2+
3+
language: java
4+
jdk:
5+
- oraclejdk8
6+
services:
7+
- docker
8+
addons:
9+
apt:
10+
packages:
11+
- oracle-java8-installer
12+
before_install:
13+
- chmod +x gradlew
14+
script: ./gradlew check pitest
15+
before_cache:
16+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
17+
cache:
18+
directories:
19+
- .autoconf
20+
- $HOME/.m2
21+
- $HOME/.gradle/caches/
22+
- $HOME/.gradle/wrapper/

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## vX.X [2016]
2+
3+
- Initial Release
4+
5+
#### Features

build.gradle

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
6+
dependencies {
7+
classpath 'com.github.ben-manes:gradle-versions-plugin:0.12.0'
8+
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.9'
9+
}
10+
}
11+
12+
plugins {
13+
id 'nebula.optional-base' version '3.1.0'
14+
id 'net.researchgate.release' version '2.3.5'
15+
}
16+
17+
ext {
18+
projectUrl = 'https://github.com/nginate/zookeeper-client'
19+
vcsUrl = 'https://github.com/nginate/zookeeper-client.git'
20+
21+
slf4jVersion = '1.7.21'
22+
nettyVersion = '4.1.0.Final'
23+
}
24+
25+
apply plugin: 'java'
26+
apply plugin: 'maven'
27+
apply plugin: 'nebula.optional-base'
28+
apply plugin: 'com.github.ben-manes.versions'
29+
apply plugin: "info.solidsoft.pitest"
30+
apply from: 'gradle/distribution.gradle'
31+
32+
sourceCompatibility = JavaVersion.VERSION_1_8
33+
targetCompatibility = JavaVersion.VERSION_1_8
34+
35+
repositories {
36+
jcenter()
37+
}
38+
39+
dependencies {
40+
compile "io.netty:netty-common:$nettyVersion"
41+
compile "io.netty:netty-handler:$nettyVersion"
42+
43+
// Logging
44+
compile "org.slf4j:slf4j-api:$slf4jVersion"
45+
46+
// Utils
47+
compile 'com.google.guava:guava:19.0'
48+
compile 'org.apache.commons:commons-lang3:3.4'
49+
compile 'commons-beanutils:commons-beanutils:1.9.2'
50+
compile "com.github.nginate:commons-lang:1.0.0"
51+
compile 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.7.4'
52+
53+
// Annotation processors
54+
compile 'org.projectlombok:lombok:1.16.8', optional
55+
compile 'com.google.code.findbugs:jsr305:3.0.1', optional
56+
57+
testCompile 'junit:junit:4.12'
58+
testCompile 'org.testng:testng:6.9.11'
59+
testCompile 'org.assertj:assertj-core:3.4.1'
60+
testCompile "com.github.nginate:commons-testing:1.0.0"
61+
testCompile "com.github.nginate:commons-docker:1.0.0"
62+
63+
testRuntime "org.slf4j:log4j-over-slf4j:$slf4jVersion"
64+
testRuntime "org.slf4j:jcl-over-slf4j:$slf4jVersion"
65+
testRuntime "org.slf4j:jul-to-slf4j:$slf4jVersion"
66+
testRuntime 'ch.qos.logback:logback-classic:1.1.7'
67+
}
68+
69+
gradle.projectsEvaluated {
70+
tasks.withType(JavaCompile) {
71+
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
72+
}
73+
}
74+
75+
test {
76+
testLogging {
77+
exceptionFormat = 'full'
78+
}
79+
}
80+
81+
pitest {
82+
excludedGroups = ["integration"]
83+
}
84+
85+
task wrapper(type: Wrapper) {
86+
gradleVersion = '2.13'
87+
}
88+
89+
build.dependsOn install

codestyle/codeStyleSettings.xml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project version="4">
3+
<component name="ProjectCodeStyleSettingsManager">
4+
<option name="PER_PROJECT_SETTINGS">
5+
<value>
6+
<option name="FORMATTER_TAGS_ENABLED" value="true"/>
7+
<XML>
8+
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true"/>
9+
</XML>
10+
<codeStyleSettings language="JAVA">
11+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
12+
<option name="METHOD_CALL_CHAIN_WRAP" value="5"/>
13+
<option name="WRAP_LONG_LINES" value="true"/>
14+
</codeStyleSettings>
15+
</value>
16+
</option>
17+
<option name="USE_PER_PROJECT_SETTINGS" value="true"/>
18+
</component>
19+
</project>

0 commit comments

Comments
 (0)