Skip to content

Commit

Permalink
updating README.md and build.gradle (removing static code analysis to…
Browse files Browse the repository at this point in the history
…ols due to problems on Java 11)
  • Loading branch information
pwittchen committed Aug 13, 2019
1 parent f9d70e6 commit f8a1040
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
20 changes: 9 additions & 11 deletions README.md
Expand Up @@ -13,14 +13,13 @@ Contents
- [Endpoints](#endpoints)
- [Tests](#tests)
- [Code style](#code-style)
- [Static code analysis](#static-code-analysis)

Tech stack
----------

Tech stack used in this project is as follows:

- **Application**: Java 8, [Gradle](https://gradle.org/), [Javalin](https://javalin.io), [Slf4J](https://www.slf4j.org/), [Dagger](https://github.com/google/dagger), [Joda Money](http://www.joda.org/joda-money/), [Gson](https://github.com/google/gson)
- **Application**: Java 11, [Gradle](https://gradle.org/), [Javalin](https://javalin.io), [Slf4J](https://www.slf4j.org/), [Dagger](https://github.com/google/dagger), [Joda Money](http://www.joda.org/joda-money/), [Gson](https://github.com/google/gson)
- **Tests**: [JUnit](https://junit.org/), [Truth](https://github.com/google/truth), [Mockito](https://github.com/mockito/mockito), [Concurrent Unit](https://github.com/jhalterman/concurrentunit), [REST Assured](https://github.com/rest-assured/rest-assured)

Building and running application
Expand Down Expand Up @@ -56,6 +55,14 @@ java -jar build/libs/app-1.0-all.jar

Server will start running on port `8000`

### Sample data

To generate sample data, type:

```
./generate_sample_data.sh
```

Endpoints
---------

Expand Down Expand Up @@ -212,12 +219,3 @@ Code style
----------

Code style used in the project is called `Square` from [Java Code Styles repository by Square](https://github.com/square/java-code-styles).

Static code analysis
--------------------

Static code analysis runs CheckStyle, PMD and FindBugs. It can be executed with command:

```
./gradlew check
```
4 changes: 1 addition & 3 deletions build.gradle
Expand Up @@ -13,16 +13,14 @@ plugins {
id 'application'
id 'jacoco'
id 'checkstyle'
id 'findbugs'
// id 'pmd'
id "net.ltgt.apt" version "0.10"
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

mainClassName = 'com.pwittchen.money.transfer.api.Application'
group 'com.pwittchen'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
sourceCompatibility = 11

sourceSets {
main {
Expand Down

0 comments on commit f8a1040

Please sign in to comment.