Skip to content

Commit

Permalink
fix crlfs
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesville committed Jun 26, 2020
1 parent 89cbde5 commit be9c97b
Show file tree
Hide file tree
Showing 170 changed files with 36,467 additions and 36,462 deletions.
7 changes: 6 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin/main" path="src">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="build/classes"/>
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
/build/
/bin/
/.gradle/
Expand Down
32 changes: 16 additions & 16 deletions .settings/org.eclipse.core.resources.prefs
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
56 changes: 28 additions & 28 deletions CONTRIBUTING.md
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/
20 changes: 10 additions & 10 deletions README.md
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)



267 changes: 133 additions & 134 deletions build.gradle
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 &#169; 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 &#169; 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]'
}
}
}
}
}
}
Loading

0 comments on commit be9c97b

Please sign in to comment.