Skip to content

Latest commit

 

History

History
77 lines (55 loc) · 2.89 KB

README.md

File metadata and controls

77 lines (55 loc) · 2.89 KB

🍷 Kotlin-ScratchPad

GitHub Workflow Status Kotlin release OpenJDK Version Docker Hub Sonar Style guide

Build

  • For building the executable jar, run

    $ ./gradlew clean build
    
    # For checking dependency updates.
    # ./gradlew clean dependencyUpdates
    
    # For publishing to maven repo
    # ./gradlew clean publish
    
    # For publishing shaded jar
    # ./gradlew clean publish -Pshaded=true
    
    # For creating dist tar
    # ./gradlew clean distTar
  • For building and pushing Docker image, run

    # Image with tags as current artifact version and "latest"
    $ ./gradlew jib

🐳 [Docker Hub URL][docker-hub]

Run

$ docker pull sureshg/kotlin-demo:latest
$ docker run -it --rm --name kotlin-demo sureshg/kotlin-demo:latest