Skip to content

Commit

Permalink
Use keyword transitive when requiring modules (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
05nelsonm authored Mar 18, 2024
1 parent f9ea2dd commit 49be427
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ dependencies {

<!-- TAG_DEPENDENCIES -->
[badge-kotlin]: https://img.shields.io/badge/kotlin-1.9.23-blue.svg?logo=kotlin
[badge-core]: https://img.shields.io/badge/kotlincrypto.core-0.5.0-blue.svg
[badge-core]: https://img.shields.io/badge/kotlincrypto.core-0.5.1-blue.svg
[badge-endians]: https://img.shields.io/badge/kotlincrypto.endians-0.3.0-blue.svg
[badge-sponges]: https://img.shields.io/badge/kotlincrypto.sponges-0.3.0-blue.svg

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ androidxTestRunner = "1.5.2"
binaryCompat = "0.14.0"
bouncyCastle = "1.73"
configuration = "0.2.1"
cryptoCore = "0.5.0"
cryptoCore = "0.5.1"
encoding = "2.2.1"
endians = "0.3.0"
kotlin = "1.9.23"
Expand Down
3 changes: 1 addition & 2 deletions library/md/src/jvmMain/java9/module-info.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module org.kotlincrypto.hash.md {
requires kotlin.stdlib;
requires org.kotlincrypto.core;
requires org.kotlincrypto.core.digest;
requires transitive org.kotlincrypto.core.digest;

exports org.kotlincrypto.hash.md;
}
3 changes: 1 addition & 2 deletions library/sha1/src/jvmMain/java9/module-info.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@SuppressWarnings("JavaModuleNaming")
module org.kotlincrypto.hash.sha1 {
requires kotlin.stdlib;
requires org.kotlincrypto.core;
requires org.kotlincrypto.core.digest;
requires transitive org.kotlincrypto.core.digest;

exports org.kotlincrypto.hash.sha1;
}
3 changes: 1 addition & 2 deletions library/sha2/src/jvmMain/java9/module-info.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@SuppressWarnings("JavaModuleNaming")
module org.kotlincrypto.hash.sha2 {
requires kotlin.stdlib;
requires org.kotlincrypto.core;
requires org.kotlincrypto.core.digest;
requires transitive org.kotlincrypto.core.digest;

exports org.kotlincrypto.hash.sha2;
}
5 changes: 2 additions & 3 deletions library/sha3/src/jvmMain/java9/module-info.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
@SuppressWarnings("JavaModuleNaming")
module org.kotlincrypto.hash.sha3 {
requires kotlin.stdlib;
requires org.kotlincrypto.core;
requires org.kotlincrypto.core.digest;
requires org.kotlincrypto.core.xof;
requires transitive org.kotlincrypto.core.digest;
requires transitive org.kotlincrypto.core.xof;
requires org.kotlincrypto.endians;
requires org.kotlincrypto.sponges.keccak;

Expand Down

0 comments on commit 49be427

Please sign in to comment.