File tree Expand file tree Collapse file tree
src/main/java/com/cedarpolicy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ if [ "$#" -ne 0 ] && [ "$1" == "run_int_tests" ]; then
4444
4545 export MUST_RUN_CEDAR_INTEGRATION_TESTS=1
4646
47- cargo_str=' cedar-policy = { version = "3.0 ", path = "../cedar/cedar-policy" }'
47+ cargo_str=' cedar-policy = { version = "3.1 ", path = "../cedar/cedar-policy" }'
4848 replace_once ../CedarJavaFFI/Cargo.toml " .*cedar-policy =.*" " $cargo_str "
4949else
5050 unset MUST_RUN_CEDAR_INTEGRATION_TESTS
Original file line number Diff line number Diff line change @@ -81,6 +81,6 @@ public interface AuthorizationEngine {
8181 * @return The Cedar language major version supported
8282 */
8383 static String getCedarLangVersion () {
84- return "3.0 " ;
84+ return "3.1 " ;
8585 }
8686}
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ name = "cedar-java-ffi"
44edition = " 2021"
55
66
7- version = " 3.0 .0"
7+ version = " 3.1 .0"
88
99[dependencies ]
1010serde = { version = " 1.0" , features = [" derive" , " rc" ] }
1111serde_json = " 1.0"
12- cedar-policy = { version = " 3.0 " , path = " ../../cedar/cedar-policy" } # Need latest version from github
12+ cedar-policy = { version = " 3.1 " , path = " ../../cedar/cedar-policy" } # Need latest version from github
1313
1414# JNI Support
1515jni = " 0.21.0"
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ pub fn callCedarJNI(
104104/// The main JNI entry point
105105#[ jni_fn( "com.cedarpolicy.BasicAuthorizationEngine" ) ]
106106pub fn getCedarJNIVersion ( env : JNIEnv < ' _ > ) -> jstring {
107- env. new_string ( "3.0 " )
107+ env. new_string ( "3.1 " )
108108 . expect ( "error creating Java string" )
109109 . into_raw ( )
110110}
You can’t perform that action at this time.
0 commit comments