Skip to content

Commit

Permalink
Java modules support (#4468)
Browse files Browse the repository at this point in the history
Add java module info to the manifests of the following  libraries used by the Besu EVM

./crypto - org.hyperledger.besu.internal.Crypto
./ethereum/rlp - org.hyperledger.besu.internal.Rlp
./util - org.hyperledger.besu.internal.Util
./datatypes - org.hyperledger.besu.Datatypes
./evm - org.hyperledger.besu.Evm
./plugin-api - org.hyperledger.besu.PluginApi

Signed-off-by: Mustafa Uzun <mustafa.uzun@limechain.tech>
  • Loading branch information
mustafauzunn authored Oct 4, 2022
1 parent 3acaee9 commit 817c1cb
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion crypto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jar {
'Specification-Title': archiveBaseName,
'Specification-Version': project.version,
'Implementation-Title': archiveBaseName,
'Implementation-Version': calculateVersion()
'Implementation-Version': calculateVersion(),
'Automatic-Module-Name': 'org.hyperledger.besu.internal.crypto'
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion datatypes/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jar {
'Specification-Title': archiveBaseName,
'Specification-Version': project.version,
'Implementation-Title': archiveBaseName,
'Implementation-Version': calculateVersion()
'Implementation-Version': calculateVersion(),
'Automatic-Module-Name': 'org.hyperledger.besu.datatypes'
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion ethereum/rlp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jar {
'Specification-Title': archiveBaseName,
'Specification-Version': project.version,
'Implementation-Title': archiveBaseName,
'Implementation-Version': calculateVersion()
'Implementation-Version': calculateVersion(),
'Automatic-Module-Name': 'org.hyperledger.besu.internal.rlp'
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion evm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jar {
'Specification-Title': archiveBaseName,
'Specification-Version': project.version,
'Implementation-Title': archiveBaseName,
'Implementation-Version': calculateVersion()
'Implementation-Version': calculateVersion(),
'Automatic-Module-Name': 'org.hyperledger.besu.evm'
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion plugin-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jar {
'Specification-Title': archiveBaseName,
'Specification-Version': project.version,
'Implementation-Title': archiveBaseName,
'Implementation-Version': calculateVersion()
'Implementation-Version': calculateVersion(),
'Automatic-Module-Name': 'org.hyperledger.besu.plugin.api'
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion util/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jar {
'Specification-Title': archiveBaseName,
'Specification-Version': project.version,
'Implementation-Title': archiveBaseName,
'Implementation-Version': calculateVersion()
'Implementation-Version': calculateVersion(),
'Automatic-Module-Name': 'org.hyperledger.besu.internal.util'
)
}
}
Expand Down

0 comments on commit 817c1cb

Please sign in to comment.