Skip to content

Commit ba365fd

Browse files
committed
added Kotlin Neptune files
1 parent 763807b commit ba365fd

File tree

5 files changed

+841
-0
lines changed

5 files changed

+841
-0
lines changed

kotlin/services/neptune/.gitignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
.gradle
2+
build/
3+
!gradle/wrapper/gradle-wrapper.jar
4+
!**/src/main/**/build/
5+
!**/src/test/**/build/
6+
7+
### IntelliJ IDEA ###
8+
.idea/modules.xml
9+
.idea/jarRepositories.xml
10+
.idea/compiler.xml
11+
.idea/libraries/
12+
*.iws
13+
*.iml
14+
*.ipr
15+
out/
16+
!**/src/main/**/out/
17+
!**/src/test/**/out/
18+
19+
### Eclipse ###
20+
.apt_generated
21+
.classpath
22+
.factorypath
23+
.project
24+
.settings
25+
.springBeans
26+
.sts4-cache
27+
bin/
28+
!**/src/main/**/bin/
29+
!**/src/test/**/bin/
30+
31+
### NetBeans ###
32+
/nbproject/private/
33+
/nbbuild/
34+
/dist/
35+
/nbdist/
36+
/.nb-gradle/
37+
38+
### VS Code ###
39+
.vscode/
40+
41+
### Mac OS ###
42+
.DS_Store
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2+
3+
plugins {
4+
kotlin("jvm") version "1.9.0"
5+
application
6+
}
7+
8+
group = "me.scmacdon"
9+
version = "1.0-SNAPSHOT"
10+
11+
java {
12+
sourceCompatibility = JavaVersion.VERSION_17
13+
targetCompatibility = JavaVersion.VERSION_17
14+
}
15+
16+
buildscript {
17+
repositories {
18+
maven("https://plugins.gradle.org/m2/")
19+
}
20+
21+
dependencies {
22+
classpath("org.jlleitschuh.gradle:ktlint-gradle:10.3.0")
23+
}
24+
}
25+
26+
repositories {
27+
mavenCentral()
28+
}
29+
apply(plugin = "org.jlleitschuh.gradle.ktlint")
30+
31+
dependencies {
32+
implementation(platform("aws.sdk.kotlin:bom:1.3.112"))
33+
implementation("aws.sdk.kotlin:neptune")
34+
implementation("aws.sdk.kotlin:ec2")
35+
implementation("aws.smithy.kotlin:http-client-engine-okhttp")
36+
implementation("aws.smithy.kotlin:http-client-engine-crt")
37+
implementation("com.google.code.gson:gson:2.10")
38+
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0")
39+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
40+
implementation("org.slf4j:slf4j-api:2.0.15")
41+
implementation("org.slf4j:slf4j-simple:2.0.15")
42+
}
43+
tasks.withType<KotlinCompile> {
44+
kotlinOptions.jvmTarget = "17"
45+
}
46+
47+
tasks.test {
48+
useJUnitPlatform() // Use JUnit 5 for running tests
49+
testLogging {
50+
events("passed", "skipped", "failed")
51+
}
52+
53+
// Define the test source set
54+
testClassesDirs += files("build/classes/kotlin/test")
55+
classpath += files("build/classes/kotlin/main", "build/resources/main")
56+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
pluginManagement {
2+
plugins {
3+
kotlin("jvm") version "2.1.10"
4+
}
5+
}
6+
plugins {
7+
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
8+
}
9+
rootProject.name = "neptune"
10+

0 commit comments

Comments
 (0)