Skip to content

Commit 3f3f6e1

Browse files
committed
Initial Commit
0 parents  commit 3f3f6e1

10 files changed

+626
-0
lines changed

.gitattributes

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
* text=auto
2+
*.bat text eol=crlf
3+
gradlew text eol=lf
4+
*.sh text eol=lf
5+
6+
#################
7+
## Java
8+
#################
9+
*.java text
10+
*.java diff=java

.gitignore

+258
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
##########################
2+
#### General
3+
##########################
4+
# https://gist.github.com/octocat/9257657
5+
6+
*.log
7+
*.bak
8+
9+
#################
10+
## Compiled source
11+
#################
12+
*.com
13+
*.class
14+
*.dll
15+
*.exe
16+
*.o
17+
*.so
18+
19+
#################
20+
## Archives
21+
#################
22+
# https://github.com/github/gitignore/blob/master/Global/Archives.gitignore
23+
24+
# It's better to unpack these files and commit the raw source because
25+
# git has its own built in compression methods.
26+
*.7z
27+
*.jar
28+
*.rar
29+
*.zip
30+
*.gz
31+
*.bzip
32+
*.bz2
33+
*.xz
34+
*.lzma
35+
*.cab
36+
37+
#packing-only formats
38+
*.iso
39+
*.tar
40+
41+
#package management formats
42+
*.dmg
43+
*.xpi
44+
*.gem
45+
*.egg
46+
*.deb
47+
*.rpm
48+
*.msi
49+
*.msm
50+
*.msp
51+
52+
##########################
53+
#### Operating Systems
54+
##########################
55+
56+
#################
57+
## Windows
58+
#################
59+
# https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
60+
61+
# Windows image file caches
62+
Thumbs.db
63+
ehthumbs.db
64+
65+
# Folder config file
66+
Desktop.ini
67+
68+
# Recycle Bin used on file shares
69+
$RECYCLE.BIN/
70+
71+
# Windows Installer files
72+
*.cab
73+
*.msi
74+
*.msm
75+
*.msp
76+
77+
# Windows shortcuts
78+
*.lnk
79+
80+
#################
81+
## OSX
82+
#################
83+
# https://github.com/github/gitignore/blob/master/Global/OSX.gitignore
84+
85+
.DS_Store
86+
.AppleDouble
87+
.LSOverride
88+
89+
# Icon must end with two \r
90+
Icon
91+
92+
93+
# Thumbnails
94+
._*
95+
96+
# Files that might appear on external disk
97+
.Spotlight-V100
98+
.Trashes
99+
100+
# Directories potentially created on remote AFP share
101+
.AppleDB
102+
.AppleDesktop
103+
Network Trash Folder
104+
Temporary Items
105+
.apdisk
106+
107+
#################
108+
## Linux
109+
#################
110+
# https://github.com/github/gitignore/blob/master/Global/Linux.gitignore
111+
112+
*~
113+
114+
# KDE directory preferences
115+
.directory
116+
117+
##########################
118+
#### IDE
119+
##########################
120+
121+
#################
122+
## Eclipse
123+
#################
124+
# https://github.com/github/gitignore/blob/master/Global/Eclipse.gitignore
125+
126+
# Don't commit project files
127+
.classpath
128+
.project
129+
130+
*.pydevproject
131+
.metadata
132+
.gradle
133+
bin/
134+
tmp/
135+
*.tmp
136+
*.bak
137+
*.swp
138+
*~.nib
139+
local.properties
140+
.settings/
141+
.loadpath
142+
143+
# External tool builders
144+
.externalToolBuilders/
145+
146+
# Locally stored "Eclipse launch configurations"
147+
*.launch
148+
149+
# CDT-specific
150+
.cproject
151+
152+
# PDT-specific
153+
.buildpath
154+
155+
# sbteclipse plugin
156+
.target
157+
158+
# TeXlipse plugin
159+
.texlipse
160+
161+
#################
162+
## NetBeans
163+
#################
164+
# https://github.com/github/gitignore/blob/master/Global/NetBeans.gitignore
165+
166+
nbproject/private/
167+
build/
168+
nbbuild/
169+
dist/
170+
nbdist/
171+
nbactions.xml
172+
nb-configuration.xml
173+
174+
#################
175+
## JetBrains
176+
#################
177+
# https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
178+
179+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
180+
181+
*.iml
182+
183+
## Directory-based project format:
184+
.idea/
185+
# if you remove the above rule, at least ignore the following:
186+
187+
# User-specific stuff:
188+
# .idea/workspace.xml
189+
# .idea/tasks.xml
190+
# .idea/dictionaries
191+
192+
# Sensitive or high-churn files:
193+
# .idea/dataSources.ids
194+
# .idea/dataSources.xml
195+
# .idea/sqlDataSources.xml
196+
# .idea/dynamic.xml
197+
# .idea/uiDesigner.xml
198+
199+
# Gradle:
200+
# .idea/gradle.xml
201+
# .idea/libraries
202+
203+
# Mongo Explorer plugin:
204+
# .idea/mongoSettings.xml
205+
206+
## File-based project format:
207+
*.ipr
208+
*.iws
209+
210+
## Plugin-specific files:
211+
212+
# IntelliJ
213+
out/
214+
215+
# mpeltonen/sbt-idea plugin
216+
.idea_modules/
217+
218+
# JIRA plugin
219+
atlassian-ide-plugin.xml
220+
221+
# Crashlytics plugin (for Android Studio and IntelliJ)
222+
com_crashlytics_export_strings.xml
223+
224+
##########################
225+
#### Project
226+
##########################
227+
228+
#################
229+
## Java
230+
#################
231+
# https://github.com/github/gitignore/blob/master/Java.gitignore
232+
233+
*.class
234+
235+
# Mobile Tools for Java (J2ME)
236+
.mtj.tmp/
237+
238+
# Package Files #
239+
*.jar
240+
*.war
241+
*.ear
242+
243+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
244+
hs_err_pid*
245+
246+
#################
247+
## Gradle
248+
#################
249+
# https://github.com/github/gitignore/blob/master/Gradle.gitignore
250+
251+
.gradle
252+
build/
253+
254+
# Ignore Gradle GUI config
255+
gradle-app.setting
256+
257+
# Allow the Gradle wrapper
258+
!gradle-wrapper.jar

.travis.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
sudo: false
2+
3+
language: groovy
4+
jdk:
5+
- openjdk6
6+
- openjdk7
7+
- oraclejdk7
8+
- oraclejdk8
9+
10+
notifications:
11+
email: false

LICENSE

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2015, Minecrell <https://github.com/LapisBlue>
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

build.gradle

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
plugins {
2+
id 'groovy'
3+
id 'maven-publish'
4+
5+
id 'eclipse'
6+
id 'idea'
7+
8+
id 'com.github.hierynomus.license' version '0.11.0'
9+
}
10+
11+
group = 'net.minecrell'
12+
version = '0.1-SNAPSHOT'
13+
14+
sourceCompatibility = 1.6
15+
targetCompatibility = 1.6
16+
17+
repositories {
18+
jcenter()
19+
}
20+
21+
dependencies {
22+
compile gradleApi()
23+
compile localGroovy()
24+
25+
compile('org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r') {
26+
// These are included in the Gradle distribution, no need to download them
27+
exclude group: 'com.jcraft', module: 'jsch'
28+
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
29+
exclude group: 'org.slf4j', module: 'slf4j-api'
30+
}
31+
}
32+
33+
license {
34+
header file('LICENSE')
35+
include '**/*.java'
36+
include '**/*.groovy'
37+
38+
strictCheck true
39+
mapping {
40+
java = 'SLASHSTAR_STYLE'
41+
}
42+
}
43+
44+
task sourceJar(type: Jar) {
45+
classifier = 'sources'
46+
from sourceSets.main.allSource
47+
}
48+
49+
publishing {
50+
publications {
51+
mavenJava(MavenPublication) {
52+
from components.java
53+
54+
artifact sourceJar
55+
56+
repositories {
57+
maven {
58+
url = System.getenv('REPO_' + (version.endsWith('-SNAPSHOT') ? 'SNAPSHOTS' : 'RELEASES')) ?: "$buildDir/repo"
59+
}
60+
}
61+
}
62+
}
63+
}
64+
65+
task wrapper(type: Wrapper) {
66+
gradleVersion = '2.4'
67+
}

gradle/wrapper/gradle-wrapper.jar

51 KB
Binary file not shown.
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Sat May 23 12:33:02 CEST 2015
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-bin.zip

0 commit comments

Comments
 (0)