Skip to content
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions aws/aws-mcp-types/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ extra["displayName"] = "Smithy :: Java :: AWS MCP types"
extra["moduleName"] = "software.amazon.smithy.java.awsmcp.types"

dependencies {
smithyBuild(project(":codegen:plugins:types-codegen"))
smithyBuild(project(":codegen:codegen-plugin"))
api(project(":core"))
api(libs.smithy.model)
}

afterEvaluate {
val typePath = smithy.getPluginProjectionPath(smithy.sourceProjection.get(), "java-type-codegen")
val typePath = smithy.getPluginProjectionPath(smithy.sourceProjection.get(), "java-codegen")
sourceSets {
main {
java {
Expand Down
5 changes: 3 additions & 2 deletions aws/aws-mcp-types/smithy-build.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"version": "1.0",
"plugins": {
"java-type-codegen": {
"java-codegen": {
"namespace": "software.amazon.smithy.awsmcp",
"headerFile": "license.txt"
"headerFile": "license.txt",
"modes": ["types"]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ dependencies {
implementation(project(":core"))
implementation(project(":logging"))

// Avoid circular dependency in codegen core
if (project.name != "codegen-core") {
api(project(":codegen:codegen-core"))
// Avoid circular dependency in codegen plugin
if (project.name != "codegen-plugin") {
api(project(":codegen:codegen-plugin"))
}
}

Expand Down
18 changes: 18 additions & 0 deletions client/client-api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
plugins {
id("smithy-java.module-conventions")
id("smithy-java.publishing-conventions")
}

description = "This module provides the core client API types"

extra["displayName"] = "Smithy :: Java :: Client :: API"
extra["moduleName"] = "software.amazon.smithy.java.client.core"

dependencies {
api(project(":context"))
api(project(":core"))
api(project(":auth-api"))
api(project(":client:client-auth-api"))
api(project(":retries-api"))
implementation(project(":logging"))
}
6 changes: 1 addition & 5 deletions client/client-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ extra["displayName"] = "Smithy :: Java :: Client :: Core"
extra["moduleName"] = "software.amazon.smithy.java.client.core"

dependencies {
api(project(":context"))
api(project(":core"))
api(project(":auth-api"))
api(project(":client:client-auth-api"))
api(project(":retries-api"))
api(project(":client:client-api"))
api(project(":framework-errors"))
implementation(project(":logging"))

Expand Down
2 changes: 1 addition & 1 deletion client/client-rulesengine/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extra["displayName"] = "Smithy :: Java :: Client :: Endpoint Rules"
extra["moduleName"] = "software.amazon.smithy.java.client.endpointrules"

dependencies {
api(project(":client:client-core"))
api(project(":client:client-api"))
api(project(":jmespath"))
api(libs.smithy.rules)
implementation(project(":logging"))
Expand Down
2 changes: 1 addition & 1 deletion client/client-waiters/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ dependencies {
api(libs.smithy.waiters)
implementation(project(":jmespath"))
implementation(project(":logging"))
implementation(project(":client:client-core"))
implementation(project(":client:client-api"))
}
3 changes: 0 additions & 3 deletions codegen/codegen-core/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions codegen/codegen-core/build.gradle.kts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading