Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions CedarJava/DIFFERENCES_FROM_RUST.md

This file was deleted.

22 changes: 20 additions & 2 deletions CedarJava/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,26 @@ syntax:
Debugging calls across the JNI boundary is a bit tricky (as ever a bit more so on a Mac), but can be done by attaching
both a Java and native debugger (such as GDB/LLDB) to the program.

## Unsupported Features
You can see a list of features not yet supported in CedarJava at [Differences from Rust](DIFFERENCES_FROM_RUST.md).
## Windows Support

Windows is not officially supported, but you can build CedarJava manually for Windows targets using the following workaround:

1. Clone the repository:
```bash
git clone https://github.com/cedar-policy/cedar-java
cd cedar-java/CedarJavaFFI
```

2. Build the native library for your target ABI:
```bash
# For GNU ABI (MinGW)
cargo build --features partial-eval --release --target x86_64-pc-windows-gnu

# For MSVC ABI (Visual Studio)
cargo build --features partial-eval --release --target x86_64-pc-windows-msvc
```

3. Set the `CEDAR_JAVA_FFI_LIB` environment variable to point to the generated DLL.

## Security

Expand Down
2 changes: 1 addition & 1 deletion CedarJava/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ publishing {
}
repositories {
maven {
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
url = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
// To publish, uncomment these lines and ensure you have them set in `gradle.properties`
// credentials {
// username ossrhUsername
Expand Down