Skip to content

Commit

Permalink
fixed MANIFEST.MF fields (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
samathaamz authored Apr 26, 2021
1 parent 72a75f9 commit 1b63401
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -504,16 +504,16 @@ allprojects {
configureEach<Jar> {
manifest {
attributes["Bundle-License"] = "BSD-2-Clause"
attributes["Implementation-Title"] = "PostgreSQL JDBC Driver"
attributes["Implementation-Title"] = "Amazon Web Services (AWS) JDBC Driver for PostgreSQL"
attributes["Implementation-Version"] = project.version
val jdbcSpec = props.string("jdbc.specification.version")
if (jdbcSpec.isNotBlank()) {
attributes["Specification-Vendor"] = "Oracle Corporation"
attributes["Specification-Version"] = jdbcSpec
attributes["Specification-Title"] = "JDBC"
}
attributes["Implementation-Vendor"] = "PostgreSQL Global Development Group"
attributes["Implementation-Vendor-Id"] = "org.postgresql"
attributes["Implementation-Vendor"] = "Amazon Web Services (AWS)"
attributes["Implementation-Vendor-Id"] = "software.aws.rds"
}
}

Expand Down
2 changes: 1 addition & 1 deletion pgjdbc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ val shadedLicenseFiles = licensesCopySpec(renderShadedLicense)
tasks.configureEach<Jar> {
archiveBaseName.set("aws-postgresql-jdbc")
manifest {
attributes["Main-Class"] = "org.postgresql.util.PGJDBCMain"
attributes["Main-Class"] = "software.aws.rds.jdbc.postgresql.shading.org.postgresql.util.PGJDBCMain"
attributes["Automatic-Module-Name"] = "org.postgresql.jdbc"
}
}
Expand Down

0 comments on commit 1b63401

Please sign in to comment.