Skip to content
A starter project using Kotlin and Gradle Kotlin DSL as build tool.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
buildSrc
gradle/wrapper
pkg
src
.appveyor.yml
.dockerignore
.gitignore
.travis.yml
CHANGELOG.md
JDK11.md
README.md
build.gradle.kts
gradle.properties
gradlew
gradlew.bat
settings.gradle.kts

README.md

Kotlin-ScratchPad

Build Status Build status Docker Hub codecov GitHub release Sonar Cloud

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

Run

$ docker pull sureshg/kotlin-demo:latest
$ docker run -it --rm --name kotlin-demo sureshg/kotlin-demo:latest
You can’t perform that action at this time.