S3 Maven repository with Gradle(kotlin)

One of basic TODO for the development team is setting a private remote maven repository for us to upload and download own dependencies. Here are things to know and consider.

  1. Minimize bolierplate in build.gradle script with initscript.

place init.gradle.kts into ~/.gradle/ or one of directories specified here.