forked from limberest/limberest
-
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
89cbde5
commit be9c97b
Showing
170 changed files
with
36,467 additions
and
36,462 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
/build/ | ||
/bin/ | ||
/.gradle/ | ||
|
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,16 +1,16 @@ | ||
eclipse.preferences.version=1 | ||
encoding//src/io/limberest/api=UTF-8 | ||
encoding//src/io/limberest/api/DefaultSwaggerDefinition.java=UTF-8 | ||
encoding//src/io/limberest/api/ServiceApi.java=UTF-8 | ||
encoding//src/io/limberest/api/ServiceApiException.java=UTF-8 | ||
encoding//src/io/limberest/api/SwaggerReader.java=UTF-8 | ||
encoding//src/io/limberest/api/SwaggerReaderExtension.java=UTF-8 | ||
encoding//src/io/limberest/api/SwaggerScanner.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/ArrayValidator.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/NumberValidator.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/PrimitiveValidator.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/StringValidator.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/SwaggerRequest.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/SwaggerValidator.java=UTF-8 | ||
encoding//src/io/limberest/service/http/SwaggerServlet.java=UTF-8 | ||
encoding/<project>=UTF-8 | ||
eclipse.preferences.version=1 | ||
encoding//src/io/limberest/api=UTF-8 | ||
encoding//src/io/limberest/api/DefaultSwaggerDefinition.java=UTF-8 | ||
encoding//src/io/limberest/api/ServiceApi.java=UTF-8 | ||
encoding//src/io/limberest/api/ServiceApiException.java=UTF-8 | ||
encoding//src/io/limberest/api/SwaggerReader.java=UTF-8 | ||
encoding//src/io/limberest/api/SwaggerReaderExtension.java=UTF-8 | ||
encoding//src/io/limberest/api/SwaggerScanner.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/ArrayValidator.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/NumberValidator.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/PrimitiveValidator.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/StringValidator.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/SwaggerRequest.java=UTF-8 | ||
encoding//src/io/limberest/api/validate/SwaggerValidator.java=UTF-8 | ||
encoding//src/io/limberest/service/http/SwaggerServlet.java=UTF-8 | ||
encoding/<project>=UTF-8 |
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,29 +1,29 @@ | ||
## Contributing | ||
|
||
### Source Code | ||
**todo** | ||
|
||
### Documentation | ||
1. Source | ||
- Documentation is in the /docs directory of the master branch on GitHub | ||
2. Local GitHub Pages | ||
- To test doc access before pushing, and to make changes to default layouts and styles, | ||
you can build through [Jekyll](https://help.github.com/articles/about-github-pages-and-jekyll/) locally. | ||
- Install Ruby 2.3 and add its bin directory to your PATH. | ||
- Install Bundler: | ||
``` | ||
gem install bundler | ||
``` | ||
- Download the CURL CA Certs from http://curl.haxx.se/ca/cacert.pem and save in your Ruby installation directory. | ||
- Set environment variable SSL_CERT_FILE to point to this this cacert.pem file location. | ||
- Install Ruby DevKit: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit | ||
- Install Jekyll and all its dependencies (in the /docs directory): | ||
``` | ||
bundle install | ||
``` | ||
- Build GitHub pages site locally (in the /docs directory): | ||
``` | ||
bundle exec jekyll serve --incremental --watch --baseurl '' | ||
``` | ||
- Access locally in your browser: | ||
## Contributing | ||
|
||
### Source Code | ||
**todo** | ||
|
||
### Documentation | ||
1. Source | ||
- Documentation is in the /docs directory of the master branch on GitHub | ||
2. Local GitHub Pages | ||
- To test doc access before pushing, and to make changes to default layouts and styles, | ||
you can build through [Jekyll](https://help.github.com/articles/about-github-pages-and-jekyll/) locally. | ||
- Install Ruby 2.3 and add its bin directory to your PATH. | ||
- Install Bundler: | ||
``` | ||
gem install bundler | ||
``` | ||
- Download the CURL CA Certs from http://curl.haxx.se/ca/cacert.pem and save in your Ruby installation directory. | ||
- Set environment variable SSL_CERT_FILE to point to this this cacert.pem file location. | ||
- Install Ruby DevKit: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit | ||
- Install Jekyll and all its dependencies (in the /docs directory): | ||
``` | ||
bundle install | ||
``` | ||
- Build GitHub pages site locally (in the /docs directory): | ||
``` | ||
bundle exec jekyll serve --incremental --watch --baseurl '' | ||
``` | ||
- Access locally in your browser: | ||
http://127.0.0.1:4000/ |
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,10 +1,10 @@ | ||
# limberest | ||
|
||
### Get Limberest | ||
**todo** | ||
|
||
### Contribute | ||
[contributing](CONTRIBUTING.md) | ||
|
||
|
||
|
||
# limberest | ||
|
||
### Get Limberest | ||
**todo** | ||
|
||
### Contribute | ||
[contributing](CONTRIBUTING.md) | ||
|
||
|
||
|
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,134 +1,133 @@ | ||
plugins { | ||
id 'java' | ||
id 'maven' | ||
id 'signing' | ||
id 'eclipse' | ||
} | ||
|
||
group = 'io.limberest' | ||
version = '1.2.5' | ||
sourceCompatibility = 1.8 | ||
targetCompatibility = 1.8 | ||
|
||
eclipse { | ||
classpath { | ||
defaultOutputDir = file("build/classes") | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
sourceSets { | ||
main { | ||
java { | ||
srcDir 'src' | ||
} | ||
output.classesDir = 'build/classes' | ||
} | ||
} | ||
|
||
jar { | ||
from('.') { | ||
include 'codegen/**/*' | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'javax.servlet:javax.servlet-api:3.1.0' | ||
compile 'javax.ws.rs:javax.ws.rs-api:2.1' | ||
compile 'javax.validation:validation-api:2.0.1.Final' | ||
compile 'org.json:json:20180130' | ||
compile 'org.slf4j:slf4j-api:1.7.25' | ||
compile 'org.reflections:reflections:0.9.11' | ||
compile 'com.google.guava:guava:20.0' | ||
compile 'io.swagger:swagger-annotations:1.5.19' | ||
compile 'io.swagger:swagger-core:1.5.19' | ||
compile 'io.swagger:swagger-models:1.5.19' | ||
compile 'io.swagger:swagger-servlet:1.5.19' | ||
compileOnly 'io.swagger:swagger-codegen:2.3.1' | ||
compileOnly 'org.springframework:spring-context:5.0.5.RELEASE' | ||
|
||
// added for java 9 (swagger dependency) | ||
compile 'javax.xml.bind:jaxb-api:2.2.12' | ||
} | ||
|
||
task cleanJavadocs(type: Delete) { | ||
delete 'docs/javadoc' | ||
} | ||
|
||
task javadocs(type: Javadoc, dependsOn: cleanJavadocs) { | ||
classpath = configurations.compile | ||
source = sourceSets.main.allJava | ||
title = 'Limberest API' | ||
maxMemory = '256m' | ||
options.links 'http://docs.oracle.com/javase/8/docs/api/' | ||
options.links 'http://docs.swagger.io/swagger-core/current/apidocs/' | ||
options.links 'http://stleary.github.io/JSON-java/' | ||
options.bottom '<i>Copyright © 2018</i>' | ||
destinationDir = file('docs/javadoc') | ||
} | ||
|
||
task sourcesJar(type: Jar, dependsOn: classes) { | ||
classifier = 'sources' | ||
from sourceSets.main.allSource | ||
} | ||
|
||
task javadocJar(type: Jar, dependsOn: javadocs) { | ||
classifier = 'javadoc' | ||
from file('docs/javadoc') | ||
} | ||
|
||
artifacts { | ||
archives javadocJar, sourcesJar | ||
} | ||
|
||
signing { | ||
sign configurations.archives | ||
} | ||
|
||
uploadArchives { | ||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
|
||
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/') { | ||
authentication(userName: ossrhUsername, password: ossrhPassword) | ||
} | ||
|
||
snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots/') { | ||
authentication(userName: ossrhUsername, password: ossrhPassword) | ||
} | ||
|
||
pom.project { | ||
name 'Limberest' | ||
description 'Lightweight REST for Java' | ||
packaging 'jar' | ||
url 'https://limberest.io' | ||
|
||
scm { | ||
connection 'scm:git:https://github.com/limberest/limberest.git' | ||
developerConnection 'scm:git:https://github.com/limberest/limberest.git' | ||
url 'https://github.com/limberest/limberest' | ||
|
||
} | ||
|
||
licenses { | ||
license { | ||
name 'MIT License' | ||
url 'https://opensource.org/licenses/MIT' | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
id 'oakesville' | ||
name 'Donald Oakes' | ||
email '[email protected]' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
plugins { | ||
id 'java' | ||
id 'maven' | ||
id 'signing' | ||
id 'eclipse' | ||
} | ||
|
||
group = 'io.limberest' | ||
version = '1.2.5' | ||
sourceCompatibility = 1.8 | ||
targetCompatibility = 1.8 | ||
|
||
eclipse { | ||
classpath { | ||
defaultOutputDir = file("build/classes") | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
sourceSets { | ||
main { | ||
java { | ||
srcDir 'src' | ||
} | ||
} | ||
} | ||
|
||
jar { | ||
from('.') { | ||
include 'codegen/**/*' | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'javax.servlet:javax.servlet-api:3.1.0' | ||
compile 'javax.ws.rs:javax.ws.rs-api:2.1' | ||
compile 'javax.validation:validation-api:2.0.1.Final' | ||
compile 'org.json:json:20180130' | ||
compile 'org.slf4j:slf4j-api:1.7.25' | ||
compile 'org.reflections:reflections:0.9.11' | ||
compile 'com.google.guava:guava:20.0' | ||
compile 'io.swagger:swagger-annotations:1.5.19' | ||
compile 'io.swagger:swagger-core:1.5.19' | ||
compile 'io.swagger:swagger-models:1.5.19' | ||
compile 'io.swagger:swagger-servlet:1.5.19' | ||
compileOnly 'io.swagger:swagger-codegen:2.3.1' | ||
compileOnly 'org.springframework:spring-context:5.0.5.RELEASE' | ||
|
||
// added for java 9 (swagger dependency) | ||
compile 'javax.xml.bind:jaxb-api:2.2.12' | ||
} | ||
|
||
task cleanJavadocs(type: Delete) { | ||
delete 'docs/javadoc' | ||
} | ||
|
||
task javadocs(type: Javadoc, dependsOn: cleanJavadocs) { | ||
classpath = configurations.compile | ||
source = sourceSets.main.allJava | ||
title = 'Limberest API' | ||
maxMemory = '256m' | ||
options.links 'http://docs.oracle.com/javase/8/docs/api/' | ||
options.links 'http://docs.swagger.io/swagger-core/current/apidocs/' | ||
options.links 'http://stleary.github.io/JSON-java/' | ||
options.bottom '<i>Copyright © 2018</i>' | ||
destinationDir = file('docs/javadoc') | ||
} | ||
|
||
task sourcesJar(type: Jar, dependsOn: classes) { | ||
classifier = 'sources' | ||
from sourceSets.main.allSource | ||
} | ||
|
||
task javadocJar(type: Jar, dependsOn: javadocs) { | ||
classifier = 'javadoc' | ||
from file('docs/javadoc') | ||
} | ||
|
||
artifacts { | ||
archives javadocJar, sourcesJar | ||
} | ||
|
||
signing { | ||
sign configurations.archives | ||
} | ||
|
||
uploadArchives { | ||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
|
||
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/') { | ||
authentication(userName: ossrhUsername, password: ossrhPassword) | ||
} | ||
|
||
snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots/') { | ||
authentication(userName: ossrhUsername, password: ossrhPassword) | ||
} | ||
|
||
pom.project { | ||
name 'Limberest' | ||
description 'Lightweight REST for Java' | ||
packaging 'jar' | ||
url 'https://limberest.io' | ||
|
||
scm { | ||
connection 'scm:git:https://github.com/limberest/limberest.git' | ||
developerConnection 'scm:git:https://github.com/limberest/limberest.git' | ||
url 'https://github.com/limberest/limberest' | ||
|
||
} | ||
|
||
licenses { | ||
license { | ||
name 'MIT License' | ||
url 'https://opensource.org/licenses/MIT' | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
id 'oakesville' | ||
name 'Donald Oakes' | ||
email '[email protected]' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.