Skip to content

Commit

Permalink
Fix Automatic-Module-Names to use underscores instead of dashes (not …
Browse files Browse the repository at this point in the history
…allowed by JPMS). (aws#297)

Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
  • Loading branch information
brcolow and Anuraag Agrawal authored Aug 5, 2021
1 parent a94a013 commit 766a73e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion aws-xray-recorder-sdk-apache-http/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {

tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "com.amazonaws.xray.apache-http")
attributes("Automatic-Module-Name" to "com.amazonaws.xray.apache_http")
}
}

Expand Down
2 changes: 1 addition & 1 deletion aws-xray-recorder-sdk-aws-sdk-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {

tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws-sdk-core")
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws_sdk_core")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {

tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws-sdk-instrumentor")
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws_sdk_instrumentor")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {

tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws-sdk-v2-instrumentor")
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws_sdk_v2_instrumentor")
}
}

Expand Down
2 changes: 1 addition & 1 deletion aws-xray-recorder-sdk-aws-sdk-v2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {

tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws-sdk-v2")
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws_sdk_v2")
}
}

Expand Down
2 changes: 1 addition & 1 deletion aws-xray-recorder-sdk-aws-sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {

tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws-sdk")
attributes("Automatic-Module-Name" to "com.amazonaws.xray.aws_sdk")
}
}

Expand Down
2 changes: 1 addition & 1 deletion aws-xray-recorder-sdk-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies {

tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "com.amazonaws.xray.sdk-core")
attributes("Automatic-Module-Name" to "com.amazonaws.xray.sdk_core")
}
}

Expand Down
2 changes: 1 addition & 1 deletion aws-xray-recorder-sdk-sql-mysql/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {

tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "com.amazonaws.xray.sql-mysql")
attributes("Automatic-Module-Name" to "com.amazonaws.xray.sql_mysql")
}
}
description = "AWS X-Ray Recorder SDK for Java - AWS SDK MySQL Interceptor"
2 changes: 1 addition & 1 deletion aws-xray-recorder-sdk-sql-postgres/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {

tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "com.amazonaws.xray.sql-postgres")
attributes("Automatic-Module-Name" to "com.amazonaws.xray.sql_postgres")
}
}
description = "AWS X-Ray Recorder SDK for Java - AWS SDK PostgreSQL Interceptor"

0 comments on commit 766a73e

Please sign in to comment.