Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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
5 changes: 5 additions & 0 deletions .changes/058bf26f-7f37-439a-9170-d0a2c9c84e3e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "058bf26f-7f37-439a-9170-d0a2c9c84e3e",
"type": "misc",
"description": "Upgrade to Gradle 9.0.0"
}
2 changes: 1 addition & 1 deletion codegen/protocol-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ abstract class ProtocolTestTask @Inject constructor(private val project: Project
val gradlew = project.rootProject.file(wrapper).absolutePath

// NOTE - this still requires us to publish to maven local.
project.exec {
providers.exec {
workingDir = projectionRootDir
executable = gradlew
args = listOf("test")
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-8.14.2-bin.zip
distributionUrl=https://services.gradle.org/distributions/gradle-9.0.0-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 1 addition & 5 deletions hll/hll-codegen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ dependencies {
api(project(":aws-runtime:aws-core"))
implementation(libs.ksp.api)
implementation(libs.smithy.kotlin.runtime.core)

testImplementation(libs.junit.jupiter)
testImplementation(libs.junit.jupiter.params)
testImplementation(libs.kotest.assertions.core.jvm)
testImplementation(libs.kotlin.test.junit5)
testImplementation(kotlin("test"))
}

val sourcesJar by tasks.creating(Jar::class) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
package aws.sdk.kotlin.hll.codegen.core

import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
import kotlin.test.Test
import kotlin.test.assertFailsWith

class TemplateEngineTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package aws.sdk.kotlin.hll.codegen.core

import aws.sdk.kotlin.hll.codegen.model.TypeRef
import aws.sdk.kotlin.hll.codegen.model.TypeVar
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
import kotlin.test.Test
import kotlin.test.assertContains

class TemplateProcessorTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
package aws.sdk.kotlin.hll.codegen.util

import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
import kotlin.test.Test

class StringsTest {
@Test
Expand Down
8 changes: 3 additions & 5 deletions tests/codegen/checksums/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ import aws.sdk.kotlin.tests.codegen.Model

description = "AWS SDK for Kotlin's checksums codegen test suite"

val tests = listOf(
CodegenTest("checksums", Model("checksums.smithy"), "aws.sdk.kotlin.test#TestService"),
)

smithyBuild {
this@Build_gradle.tests.forEach { test ->
listOf(
CodegenTest("checksums", Model("checksums.smithy"), "aws.sdk.kotlin.test#TestService"),
).forEach { test ->
projections.register(test.name) {
imports = listOf(layout.projectDirectory.file(test.model.path + test.model.fileName).asFile.absolutePath)
smithyKotlinPlugin {
Expand Down
Loading