-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from cryptomator/feature/jdk22
Build project with JDK 22
- Loading branch information
Showing
8 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import org.cryptomator.cryptolib.api.CryptorProvider; | ||
|
||
/** | ||
* This module provides the highlevel cryptographic API used by Cryptomator. | ||
* | ||
* @uses CryptorProvider See {@link CryptorProvider#forScheme(CryptorProvider.Scheme)} | ||
* @provides CryptorProvider Providers for {@link org.cryptomator.cryptolib.api.CryptorProvider.Scheme#SIV_CTRMAC SIV/CTR-then-MAC} | ||
* and {@link org.cryptomator.cryptolib.api.CryptorProvider.Scheme#SIV_GCM SIV/GCM} | ||
*/ | ||
module org.cryptomator.cryptolib { | ||
requires static org.bouncycastle.provider; // will be shaded | ||
requires static org.bouncycastle.pkix; // will be shaded | ||
requires org.cryptomator.siv; | ||
requires com.google.gson; | ||
requires transitive com.google.common; | ||
requires org.slf4j; | ||
|
||
exports org.cryptomator.cryptolib.api; | ||
exports org.cryptomator.cryptolib.common; | ||
|
||
opens org.cryptomator.cryptolib.common to com.google.gson; | ||
|
||
uses CryptorProvider; | ||
|
||
provides CryptorProvider | ||
with org.cryptomator.cryptolib.v1.CryptorProviderImpl, org.cryptomator.cryptolib.v2.CryptorProviderImpl; | ||
} |