Skip to content

Commit

Permalink
Updated the gradle build file (#5634)
Browse files Browse the repository at this point in the history
Updated gradle build files
  • Loading branch information
scmacdon authored and ford-at-aws committed Dec 15, 2023
1 parent 9a12ac3 commit 05fb184
Show file tree
Hide file tree
Showing 8 changed files with 123 additions and 39 deletions.
21 changes: 16 additions & 5 deletions kotlin/services/forecast/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.0"
application
}

Expand All @@ -19,16 +19,27 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:forecast:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:forecast:0.33.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.33.1-beta")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.28.0")
implementation("aws.smithy.kotlin:http-client-engine-crt:0.28.0")
implementation("com.google.code.gson:gson:2.10")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "17"
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}

// Define the test source set
testClassesDirs += files("build/classes/kotlin/test")
classpath += files("build/classes/kotlin/main", "build/resources/main")
}
22 changes: 17 additions & 5 deletions kotlin/services/glue/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.0"
application
}

Expand All @@ -19,16 +19,28 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:glue:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:glue:0.33.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.33.1-beta")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.28.0")
implementation("aws.smithy.kotlin:http-client-engine-crt:0.28.0")
implementation("com.google.code.gson:gson:2.10")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "17"
}

tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}

// Define the test source set
testClassesDirs += files("build/classes/kotlin/test")
classpath += files("build/classes/kotlin/main", "build/resources/main")
}
25 changes: 18 additions & 7 deletions kotlin/services/iam/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.0"
application
}

Expand All @@ -19,19 +19,30 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:iam:0.30.1-beta")
implementation("aws.sdk.kotlin:sts:0.30.1-beta")
implementation("aws.sdk.kotlin:s3:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:iam:0.33.1-beta")
implementation("aws.sdk.kotlin:sts:0.33.1-beta")
implementation("aws.sdk.kotlin:s3:0.33.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.33.1-beta")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.28.0")
implementation("aws.smithy.kotlin:http-client-engine-crt:0.28.0")
implementation("com.google.code.gson:gson:2.10")
implementation("com.googlecode.json-simple:json-simple:1.1.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "17"
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}

// Define the test source set
testClassesDirs += files("build/classes/kotlin/test")
classpath += files("build/classes/kotlin/main", "build/resources/main")
}
23 changes: 18 additions & 5 deletions kotlin/services/kendra/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.0"
application
}

Expand All @@ -19,16 +19,29 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}

apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:kendra:0.30.1-beta")
implementation("aws.sdk.kotlin:kendra:0.33.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.33.1-beta")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.28.0")
implementation("aws.smithy.kotlin:http-client-engine-crt:0.28.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")

implementation("com.google.code.gson:gson:2.10")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "17"
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}

// Define the test source set
testClassesDirs += files("build/classes/kotlin/test")
classpath += files("build/classes/kotlin/main", "build/resources/main")
}
8 changes: 5 additions & 3 deletions kotlin/services/keyspaces/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.0"
application
}

Expand All @@ -23,14 +23,16 @@ repositories {
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:keyspaces:0.30.1-beta")
implementation("aws.sdk.kotlin:keyspaces:0.33.1-beta")
implementation("com.datastax.oss:java-driver-core:4.15.0")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.28.0")
implementation("aws.smithy.kotlin:http-client-engine-crt:0.28.0")
implementation("software.aws.mcs:aws-sigv4-auth-cassandra-java-driver-plugin:4.0.8")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("com.fasterxml.jackson.core:jackson-core:2.14.2")
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.2")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "17"
}
18 changes: 15 additions & 3 deletions kotlin/services/kinesis/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.0"
application
}

Expand All @@ -23,11 +23,23 @@ repositories {
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:kinesis:0.30.1-beta")
implementation("aws.sdk.kotlin:kinesis:0.33.1-beta")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.28.0")
implementation("aws.smithy.kotlin:http-client-engine-crt:0.28.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.0")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "17"
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}

// Define the test source set
testClassesDirs += files("build/classes/kotlin/test")
classpath += files("build/classes/kotlin/main", "build/resources/main")
}
22 changes: 17 additions & 5 deletions kotlin/services/kms/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.0"
application
}

Expand All @@ -19,16 +19,28 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:kms:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:kms:0.33.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.33.1-beta")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.28.0")
implementation("aws.smithy.kotlin:http-client-engine-crt:0.28.0")
implementation("com.google.code.gson:gson:2.10")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "17"
}

tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}

// Define the test source set
testClassesDirs += files("build/classes/kotlin/test")
classpath += files("build/classes/kotlin/main", "build/resources/main")
}
23 changes: 17 additions & 6 deletions kotlin/services/lambda/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.0"
application
}

Expand All @@ -13,22 +13,33 @@ buildscript {
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath("org.jlleitschuh.gradle:ktlint-gradle:10.3.0")
classpath("org.jlleitschuh.gradle:ktlint-gradle:11.5.1")
}
}

repositories {
mavenCentral()
jcenter()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:lambda:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:lambda:0.33.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.33.1-beta")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.28.0")
implementation("aws.smithy.kotlin:http-client-engine-crt:0.28.0")
implementation("com.google.code.gson:gson:2.10")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "17"
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}

// Define the test source set
testClassesDirs += files("build/classes/kotlin/test")
classpath += files("build/classes/kotlin/main", "build/resources/main")
}

0 comments on commit 05fb184

Please sign in to comment.