Skip to content

Commit b8a7361

Browse files
export shaded bouncycastle packages that are exposed to public API
1 parent 5527636 commit b8a7361

File tree

9 files changed

+59
-5
lines changed

9 files changed

+59
-5
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141

4242
<!-- test dependencies -->
4343
<junit.version>5.7.1</junit.version>
44-
<mockito.version>3.7.7</mockito.version>
45-
<jmh.version>1.27</jmh.version>
44+
<mockito.version>3.10.0</mockito.version>
45+
<jmh.version>1.31</jmh.version>
4646
<hamcrest.version>2.2</hamcrest.version>
47-
<guava.version>30.1-jre</guava.version>
47+
<guava.version>30.1.1-jre</guava.version>
4848
</properties>
4949

5050
<dependencies>

src/main/java/org/cryptomator/siv/SivMode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import javax.crypto.IllegalBlockSizeException;
1919
import javax.crypto.SecretKey;
20-
import java.nio.ByteBuffer;
2120
import java.security.Provider;
2221
import java.util.Arrays;
2322

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.cryptomator.siv.org.bouncycastle.crypto;
2+
3+
/**
4+
* module-info will be evaluated before maven-shade-plugin, so we need this placeholder
5+
* to avoid complaints about this package being empty.
6+
*/
7+
class Placeholder {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.cryptomator.siv.org.bouncycastle.crypto.macs;
2+
3+
/**
4+
* module-info will be evaluated before maven-shade-plugin, so we need this placeholder
5+
* to avoid complaints about this package being empty.
6+
*/
7+
class Placeholder {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.cryptomator.siv.org.bouncycastle.crypto.modes;
2+
3+
/**
4+
* module-info will be evaluated before maven-shade-plugin, so we need this placeholder
5+
* to avoid complaints about this package being empty.
6+
*/
7+
class Placeholder {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.cryptomator.siv.org.bouncycastle.crypto.paddings;
2+
3+
/**
4+
* module-info will be evaluated before maven-shade-plugin, so we need this placeholder
5+
* to avoid complaints about this package being empty.
6+
*/
7+
class Placeholder {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.cryptomator.siv.org.bouncycastle.crypto.params;
2+
3+
/**
4+
* module-info will be evaluated before maven-shade-plugin, so we need this placeholder
5+
* to avoid complaints about this package being empty.
6+
*/
7+
class Placeholder {
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.cryptomator.siv.org.bouncycastle.util;
2+
3+
/**
4+
* module-info will be evaluated before maven-shade-plugin, so we need this placeholder
5+
* to avoid complaints about this package being empty.
6+
*/
7+
class Placeholder {
8+
}

src/main/java9/module-info.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
module org.cryptomator.siv {
2-
exports org.cryptomator.siv;
32
requires static org.bouncycastle.provider;
3+
4+
exports org.cryptomator.siv;
5+
exports org.cryptomator.siv.org.bouncycastle.crypto;
6+
exports org.cryptomator.siv.org.bouncycastle.crypto.macs;
7+
exports org.cryptomator.siv.org.bouncycastle.crypto.modes;
8+
exports org.cryptomator.siv.org.bouncycastle.crypto.paddings;
9+
exports org.cryptomator.siv.org.bouncycastle.crypto.params;
10+
exports org.cryptomator.siv.org.bouncycastle.util;
411
}

0 commit comments

Comments
 (0)