Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions kotlin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Mac OS
.DS_Store

# IDE
.idea

# Gradle
.gradle
build
21 changes: 21 additions & 0 deletions kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
plugins {
application
kotlin("jvm") version "1.7.20"
}

repositories {
google()
mavenCentral()
}

dependencies {
implementation(kotlin("stdlib"))

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${properties["version.kotlinx-coroutines"]}")
implementation("aws.sdk.kotlin:s3:${properties["version.aws-sdk-kotlin-s3"]}")
implementation("ch.qos.logback:logback-classic:${properties["version.logback"]}")
}

tasks.getByName<Test>("test") {
useJUnitPlatform()
}
7 changes: 7 additions & 0 deletions kotlin/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kotlin.code.style=official
org.gradle.parallel=true
# Versions
version.kotlin=1.7.20
version.kotlinx-coroutines=1.6.4
version.aws-sdk-kotlin-s3=0.17.8-beta
version.logback=1.4.4
Binary file added kotlin/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions kotlin/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
234 changes: 234 additions & 0 deletions kotlin/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions kotlin/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions kotlin/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = "kotlin"
6 changes: 6 additions & 0 deletions kotlin/src/main/kotlin/Consts.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
object Consts {
const val AccessKey = "access" // TODO Replace access key
const val SecretKey = "secret" // TODO Replace secret key

const val BucketName = "Bucket" // TODO Replace bucket name
}
Loading