msokolov commented on a change in pull request #18: URL: https://github.com/apache/lucene/pull/18#discussion_r594309799
########## File path: gradle/defaults-java.gradle ########## @@ -60,3 +60,14 @@ allprojects { } } } + +configure(project(":lucene:core")) { + plugins.withType(JavaPlugin) { Review comment: I'll just repeat what I think I'm hearing since I'm slow ... It sounds like a way forward is something like this? 1. Use reflection to search for this new implementation of `static float SuperDuperVectors.dotProduct(float[], float[])` and/or fall back to the old way? 2. Provide a {{vector-api.jar}} with `SuperDuperVectors` in it (or some such) just to wrap this object, and maybe other Vector stuff like Euclidean norm. 3. Get the build sorted out so that the plugin can be built conditionally, depending on JDK used. Then users can incorporate that jar and provide the proper JDK command line flag to include the incubating vector api support, and that's it? ---------------------------------------------------------------- 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. 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