Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
25 changes: 25 additions & 0 deletions bom/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
plugins {
`java-platform`
id("smithy-java.publishing-conventions")
}

description = "Smithy Java BOM (Bill of Materials) for dependency version management"

extra["displayName"] = "Smithy :: Java :: BOM"

configurePublishing {
customComponent = components["javaPlatform"]
}

// Auto-discover all published subprojects (those with maven-publish plugin)
// and add them as BOM constraints.
gradle.projectsEvaluated {
dependencies {
constraints {
rootProject.subprojects
.filter { it != project && it.plugins.hasPlugin("maven-publish") }
.sortedBy { it.path }
.forEach { api(it) }
}
}
}
1 change: 0 additions & 1 deletion codegen/codegen-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ dependencies {
testImplementation(project(":aws:client:aws-client-restjson"))
testImplementation(libs.smithy.aws.traits)
testImplementation(libs.smithy.rules)
testImplementation(project(":codegen:test-utils"))
testImplementation(libs.jspecify)

// Integration test deps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
package software.amazon.smithy.java.codegen.types;

import static org.assertj.core.api.Assertions.assertThat;
import static software.amazon.smithy.java.codegen.test.PluginTestRunner.addTestCasesFromUrl;
import static software.amazon.smithy.java.codegen.utils.PluginTestRunner.addTestCasesFromUrl;

import java.util.Collection;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import software.amazon.smithy.java.codegen.test.PluginTestRunner.TestCase;
import software.amazon.smithy.java.codegen.utils.PluginTestRunner.TestCase;

public class TypesCodegenPluginTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

package software.amazon.smithy.java.codegen.test;
package software.amazon.smithy.java.codegen.utils;

import java.io.File;
import java.io.IOException;
Expand Down
7 changes: 0 additions & 7 deletions codegen/test-utils/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions codegen/test-utils/build.gradle.kts

This file was deleted.

This file was deleted.

10 changes: 2 additions & 8 deletions fuzz-test-harness/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
plugins {
id("smithy-java.module-conventions")
id("smithy-java.java-conventions")
id("smithy-java.integ-test-conventions")
id("software.amazon.smithy.gradle.smithy-base")
}

description = "This module provides a test harness and tools for fuzzing Smithy codecs using Jazzer."

extra["displayName"] = "Smithy :: Java :: Fuzz Test Harness"
extra["moduleName"] = "software.amazon.smithy.java.fuzz"

dependencies {
smithyBuild(project(":codegen:codegen-plugin"))

Expand Down Expand Up @@ -45,10 +43,6 @@ tasks.named("compileJava") {
dependsOn("smithyBuild")
}

tasks.sourcesJar {
mustRunAfter("compileJava")
}

tasks.processResources {
dependsOn("compileJava")
}
6 changes: 2 additions & 4 deletions protocol-test-harness/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@


plugins {
id("smithy-java.module-conventions")
id("smithy-java.java-conventions")
id("smithy-java.integ-test-conventions")
}

description = "This module provides a test harness and tools for executing protocol tests."

extra["displayName"] = "Smithy :: Java :: Protocol Tests"
extra["moduleName"] = "software.amazon.smithy.java.protocoltests"

dependencies {
implementation(project(":logging"))
implementation(project(":codegen:codegen-plugin"))
Expand Down
4 changes: 3 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ pluginManagement {

rootProject.name = "smithy-java"

// BOM (Bill of Materials)
include(":bom")

// AI
include(":smithy-ai-traits")

Expand Down Expand Up @@ -57,7 +60,6 @@ include(":server:server-proxy")
// Codegen
include(":codegen:codegen-core")
include(":codegen:codegen-plugin")
include(":codegen:test-utils")

// Utilities
include(":jmespath")
Expand Down
Loading