apache / apache/lucene

spatial: expose dependencies using Gradle Feature Variants [LUCENE-10202]

Open
#11,239 1 comment 0 reactions 1 assignee Claimed by @dsmiley View on GitHub
legacy-jira-priority:Minor module:spatial-extras type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

The spatial-extras module has several dependencies.  However some of them like spatial3d (aka Geo3d) are only needed for certain features.  Likewise, JTS could be exposed here as well, and should be opt-in.  In Maven, these should be "optional".  Gradle has a cool alternative for Gradle consumers to select named "feature variants" this module could expose so that it doesn't have to pick the right dependency versions.

https://docs.gradle.org/current/userguide/feature_variants.html

---
Migrated from [LUCENE-10202](https://issues.apache.org/jira/browse/LUCENE-10202) by David Smiley (@dsmiley), updated Oct 26 2021
Pull requests: https://github.com/apache/lucene/pull/411

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.