[ https://issues.apache.org/jira/browse/SOLR-13452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967685#comment-16967685 ]
Varun Thacker commented on SOLR-13452: -------------------------------------- I was able to get it running with the security manager by making this change locally. {code:java} ~/apache-work/lucene-solr (jira/SOLR-13452_gradle_8) $ git diff diff --git lucene/tools/junit4/solr-tests.policy lucene/tools/junit4/solr-tests.policy index 201add9ed3b..06b08fc91a7 100644 --- lucene/tools/junit4/solr-tests.policy +++ lucene/tools/junit4/solr-tests.policy @@ -99,4 +99,7 @@ grant { // java 8 accessibility requires this perm - should not after 8 I believe (rrd4j is the root reason we hit an accessibility code path) permission java.awt.AWTPermission "*"; + permission java.util.logging.LoggingPermission "control"; + permission java.util.PropertyPermission "*", "read,write"; + }; diff --git lucene/tools/junit4/tests.policy lucene/tools/junit4/tests.policy index 84c67f4452d..861b19495c5 100644 --- lucene/tools/junit4/tests.policy +++ lucene/tools/junit4/tests.policy @@ -124,4 +124,7 @@ grant { // allows LuceneTestCase#runWithRestrictedPermissions to execute with lower (or no) permission permission java.security.SecurityPermission "createAccessControlContext"; + + permission java.util.logging.LoggingPermission "control"; + permission java.util.PropertyPermission "*", "read,write"; }; {code} > Update the lucene-solr build from Ivy+Ant+Maven (shadow build) to Gradle. > ------------------------------------------------------------------------- > > Key: SOLR-13452 > URL: https://issues.apache.org/jira/browse/SOLR-13452 > Project: Solr > Issue Type: Improvement > Components: Build > Reporter: Mark Miller > Assignee: Mark Miller > Priority: Major > Fix For: master (9.0) > > Attachments: gradle-build.pdf > > Time Spent: 0.5h > Remaining Estimate: 0h > > I took some things from the great work that Dat did in > [https://github.com/apache/lucene-solr/tree/jira/gradle] and took the ball a > little further. > > When working with gradle in sub modules directly, I recommend > [https://github.com/dougborg/gdub] > This gradle branch uses the following plugin for version locking, version > configuration and version consistency across modules: > [https://github.com/palantir/gradle-consistent-versions] > > https://github.com/apache/lucene-solr/tree/jira/SOLR-13452_gradle_8 -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org