mneethiraj commented on code in PR #3928: URL: https://github.com/apache/polaris/pull/3928#discussion_r2920960020
########## extensions/auth/ranger/build.gradle.kts: ########## @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +plugins { + id("polaris-server") + id("org.kordamp.gradle.jandex") +} + +dependencies { + implementation(project(":polaris-core")) + + implementation(libs.ranger.authz.embedded) + implementation(libs.commons.lang3) + implementation(libs.guava) + + // Iceberg dependency for ForbiddenException + implementation(platform(libs.iceberg.bom)) + implementation("org.apache.iceberg:iceberg-api") + + compileOnly(libs.jakarta.annotation.api) + compileOnly(libs.jakarta.enterprise.cdi.api) + compileOnly(libs.jakarta.inject.api) + compileOnly(libs.smallrye.config.core) + compileOnly(project(":polaris-immutables")) + + runtimeOnly(libs.graalvm.graal.sdk) + runtimeOnly(libs.graalvm.inspect.community) + runtimeOnly(libs.graalvm.js.community) + runtimeOnly(libs.graalvm.js.scriptengine) + runtimeOnly(libs.graalvm.nativeimage) Review Comment: @dimas-b - sorry, I missed that your earlier question was speciifically about `nativeimage`. I reviewed and found that `nativeimage` and few more dependencies are not necessary. I updated the PR by replacing dependencies with the following: - org.graalvm.js:js-scriptengine - org.graalvm.polyglot:js - org.graalvm.polyglot:polyglot Thank you for flagging this issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
