aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Hawke <paul.hawke@asynchrony.com>2014-05-12 16:53:13 -0500
committerPaul Hawke <paul.hawke@asynchrony.com>2014-05-12 16:53:13 -0500
commitab6feae737b3038532d057e87fd83c58bad3b3cc (patch)
tree7fff2c5e7c88703ab6c4e47b6ed937f915fa5544
parent711762afc826e9099e6224928b9ac824cf33f92b (diff)
downloadnanohttpd-ab6feae737b3038532d057e87fd83c58bad3b3cc.tar.gz
initial start on a gradle build.
-rw-r--r--.gitignore1
-rw-r--r--core/build.gradle18
2 files changed, 19 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index a257787..ff80817 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@ target
.idea
.classpath
.project
+.gradle
# Vim Backup/Swap Files
*~
diff --git a/core/build.gradle b/core/build.gradle
new file mode 100644
index 0000000..cf42871
--- /dev/null
+++ b/core/build.gradle
@@ -0,0 +1,18 @@
+apply plugin: 'java'
+
+version = '2.1.0'
+
+jar {
+ baseName = 'nanohttpd'
+}
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.8.2'
+ testCompile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.2.5'
+ testCompile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.2.5'
+}
+