forked from NanoHttpd/nanohttpd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e33c73a
commit 952481e
Showing
10 changed files
with
117 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
allprojects { | ||
apply plugin: 'java' | ||
apply plugin: 'idea' | ||
|
||
group = 'org.nanohttpd' | ||
version = '2.3.2-SNAPSHOT' | ||
} | ||
|
||
subprojects { | ||
apply plugin: 'java' | ||
sourceCompatibility = 1.7 | ||
targetCompatibility = 1.7 | ||
|
||
repositories { | ||
jcenter() | ||
} | ||
|
||
dependencies { | ||
testCompile group: 'junit', name: 'junit', version: '4.12' | ||
} | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = "4.4.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,10 @@ | ||
apply plugin: 'java' | ||
|
||
version = '2.1.0' | ||
|
||
jar { | ||
baseName = 'nanohttpd' | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
description = 'NanoHttpd-Core' | ||
|
||
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' | ||
testCompile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.2.5' | ||
testCompile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.2.5' | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = "4.4.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
description = 'NanoHttpd-apache file upload integration' | ||
|
||
dependencies { | ||
compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.3.1' | ||
|
||
compileOnly project(':nanohttpd') | ||
compileOnly group: 'javax.servlet', name: 'servlet-api', version: '2.5' | ||
|
||
testCompile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.4.1' | ||
testCompile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.4.1' | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = "4.4.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
description = 'NanoHttpd-Webserver-Markdown-Plugin' | ||
|
||
dependencies { | ||
compile group: 'org.pegdown', name: 'pegdown', version: '1.4.1' | ||
compileOnly project(':nanohttpd') | ||
compileOnly project(':nanohttpd-webserver') | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = "4.4.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description = 'NanoHttpd-nano application server' | ||
|
||
dependencies { | ||
compile project(':nanohttpd') | ||
|
||
testCompile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.4.1' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
description = 'NanoHttpd-Samples' | ||
|
||
dependencies { | ||
compile project(':nanohttpd') | ||
compile project(':nanohttpd-webserver') | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = "4.4.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
rootProject.name = 'nanohttpd-project' | ||
include ':nanohttpd' | ||
include ':nanohttpd-samples' | ||
include ':nanohttpd-webserver' | ||
include ':nanohttpd-websocket' | ||
include ':nanohttpd-webserver-markdown-plugin' | ||
include ':nanohttpd-nanolets' | ||
include ':nanohttpd-apache-fileupload' | ||
|
||
project(':nanohttpd').projectDir = "$rootDir/core" as File | ||
project(':nanohttpd-samples').projectDir = "$rootDir/samples" as File | ||
project(':nanohttpd-webserver').projectDir = "$rootDir/webserver" as File | ||
project(':nanohttpd-websocket').projectDir = "$rootDir/websocket" as File | ||
project(':nanohttpd-webserver-markdown-plugin').projectDir = "$rootDir/markdown-plugin" as File | ||
project(':nanohttpd-nanolets').projectDir = "$rootDir/nanolets" as File | ||
project(':nanohttpd-apache-fileupload').projectDir = "$rootDir/fileupload" as File |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
description = 'NanoHttpd-Webserver' | ||
|
||
dependencies { | ||
compile project(':nanohttpd') | ||
|
||
testCompile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.4.1' | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = "4.4.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
description = 'NanoHttpd-Websocket' | ||
|
||
dependencies { | ||
compile project(':nanohttpd') | ||
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5' | ||
testCompile group: 'org.eclipse.jetty.websocket', name: 'websocket-client', version: '9.3.0.M2' | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = "4.4.1" | ||
} |