dweiss commented on code in PR #14897: URL: https://github.com/apache/lucene/pull/14897#discussion_r2186063713
########## build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/LuceneGradlePlugin.java: ########## @@ -62,4 +63,24 @@ protected void applicableToRootProjectOnly(Project project) { "This plugin is applicable to the rootProject only: " + getClass().getSimpleName()); } } + + /** + * Returns a filesystem path to a given resource that the plugin uses. At the moment, these + * resources are located under the top-level {@code gradle/} folder. + */ + protected Path gradlePluginResource(Project project, String relativePath) { + return project Review Comment: I've changed it to getSettingsDirectory, even though it's marked as unstable API (incubating).https://docs.gradle.org/current/javadoc/org/gradle/api/file/ProjectLayout.html#getSettingsDirectory() -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org