Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the Kotlin build file #5622

Merged
merged 27 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b46155e
update the Kotlin build file
scmacdon Nov 7, 2023
9d5fde2
update the Kotlin build file
scmacdon Nov 7, 2023
50b6c97
update the Kotlin build file
scmacdon Nov 7, 2023
8afb5b2
update the Kotlin build file
scmacdon Nov 7, 2023
d37a2c3
update the Kotlin build file
scmacdon Nov 7, 2023
5798b0b
update the Kotlin build file
scmacdon Nov 7, 2023
cb2b66a
update the Kotlin build file
scmacdon Nov 7, 2023
a8839b0
update the Kotlin build file
scmacdon Nov 7, 2023
c0e75df
update the Kotlin build file
scmacdon Nov 7, 2023
026276d
update the Kotlin build file
scmacdon Nov 7, 2023
1d168f1
update the Kotlin build file
scmacdon Nov 7, 2023
1b3e63f
update the Kotlin build file
scmacdon Nov 7, 2023
d2230e5
update the Kotlin build file
scmacdon Nov 7, 2023
019acbb
update build files based on a comment
scmacdon Nov 8, 2023
66dfedc
update build files based on a comment
scmacdon Nov 8, 2023
22cdc82
update build files based on a comment
scmacdon Nov 8, 2023
0ddeebc
Update build.gradle.kts
scmacdon Nov 8, 2023
db99955
Update build.gradle.kts
scmacdon Nov 8, 2023
acc14a0
Update build.gradle.kts
scmacdon Nov 8, 2023
f565dae
Update build.gradle.kts
scmacdon Nov 8, 2023
369eccd
Update build.gradle.kts
scmacdon Nov 8, 2023
fa7a5fa
Update build.gradle.kts
scmacdon Nov 8, 2023
134262b
Update build.gradle.kts
scmacdon Nov 8, 2023
ed427e7
Update build.gradle.kts
scmacdon Nov 8, 2023
f4d047b
Update build.gradle.kts
scmacdon Nov 8, 2023
378ea1b
Update build.gradle.kts
scmacdon Nov 8, 2023
8895f8d
Update build.gradle.kts
scmacdon Nov 8, 2023
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
26 changes: 19 additions & 7 deletions kotlin/services/appsync/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,31 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:appsync: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:appsync: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")
}
22 changes: 17 additions & 5 deletions kotlin/services/athena/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:athena-jvm:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:athena-jvm: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")
}
22 changes: 17 additions & 5 deletions kotlin/services/autoscale/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:autoscaling-jvm:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:autoscaling-jvm: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() // Use JUnit 5 for running tests
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/cloudformation/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:cloudformation:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:cloudformation: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() // Use JUnit 5 for running tests
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/cloudtrail/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:cloudtrail:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:cloudtrail: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() // Use JUnit 5 for running tests
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")
}
26 changes: 19 additions & 7 deletions kotlin/services/cloudwatch/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,20 +19,32 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:cloudwatch-jvm:0.30.1-beta")
implementation("aws.sdk.kotlin:cloudwatchevents-jvm:0.30.1-beta")
implementation("aws.sdk.kotlin:cloudwatchlogs-jvm:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:cloudwatch-jvm:0.33.1-beta")
implementation("aws.sdk.kotlin:cloudwatchevents-jvm:0.33.1-beta")
implementation("aws.sdk.kotlin:cloudwatchlogs-jvm: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.fasterxml.jackson.core:jackson-core:2.14.2")
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.2")
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() // Use JUnit 5 for running tests
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/codepipeline/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:codepipeline-jvm:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:codepipeline-jvm: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() // Use JUnit 5 for running tests
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")
}
24 changes: 18 additions & 6 deletions kotlin/services/cognito/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,17 +19,29 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
dependencies {
implementation("aws.sdk.kotlin:cognitoidentityprovider:0.30.1-beta")
implementation("aws.sdk.kotlin:cognitoidentity:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:cognitoidentityprovider:0.33.1-beta")
implementation("aws.sdk.kotlin:cognitoidentity: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")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
implementation("com.google.code.gson:gson:2.10")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "17"
}

tasks.test {
useJUnitPlatform() // Use JUnit 5 for running tests
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/comprehend/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 @@ -20,17 +20,29 @@ buildscript {

repositories {
mavenCentral()
jcenter()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")

dependencies {
implementation("aws.sdk.kotlin:comprehend:0.30.1-beta")
implementation("aws.sdk.kotlin:secretsmanager:0.30.1-beta")
implementation("aws.sdk.kotlin:comprehend: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() // Use JUnit 5 for running tests
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")
}
Loading
Loading