From f000710624b9f43d332f1cec6f3a8e5c10ef6c65 Mon Sep 17 00:00:00 2001 From: Robert Mathew Date: Tue, 3 Sep 2024 21:02:40 +0530 Subject: [PATCH] feat: added amazon kms module --- modules/amazon-kms/build.gradle.kts | 24 ++++++++++++++++++++++ modules/amazon-kms/src/main/kotlin/Main.kt | 5 +++++ settings.gradle.kts | 1 + 3 files changed, 30 insertions(+) create mode 100644 modules/amazon-kms/build.gradle.kts create mode 100644 modules/amazon-kms/src/main/kotlin/Main.kt diff --git a/modules/amazon-kms/build.gradle.kts b/modules/amazon-kms/build.gradle.kts new file mode 100644 index 00000000..d7faee52 --- /dev/null +++ b/modules/amazon-kms/build.gradle.kts @@ -0,0 +1,24 @@ +plugins { + kotlin("jvm") version "2.0.0" +} + +group = "com.sphereon.oid.fed.kms.amazon" +version = "0.1.0" + +repositories { + mavenCentral() +} + +dependencies { + testImplementation(kotlin("test")) + api(projects.modules.openapi) + implementation(platform("software.amazon.awssdk:bom:2.21.1")) + implementation("software.amazon.awssdk:kms") +} + +tasks.test { + useJUnitPlatform() +} +kotlin { + jvmToolchain(21) +} \ No newline at end of file diff --git a/modules/amazon-kms/src/main/kotlin/Main.kt b/modules/amazon-kms/src/main/kotlin/Main.kt new file mode 100644 index 00000000..d75aa9fd --- /dev/null +++ b/modules/amazon-kms/src/main/kotlin/Main.kt @@ -0,0 +1,5 @@ +package com.sphereon.oid.fed.kms.local + +fun main() { + println("Hello World!") +} \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 90d48f4c..9da07f95 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -49,3 +49,4 @@ include(":modules:openapi") include(":modules:persistence") include(":modules:services") include("modules:local-kms") +include("modules:amazon-kms")