Skip to content

Commit

Permalink
Add platform module to include constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
malliaridis committed Jan 11, 2025
1 parent 1e806d7 commit 31537e5
Show file tree
Hide file tree
Showing 14 changed files with 131 additions and 118 deletions.
1 change: 1 addition & 0 deletions solr/cross-dc-manager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ apply plugin: 'java-library'
description = 'Cross-DC Manager'

dependencies {
implementation platform(project(':platform'))
implementation project(':solr:solrj')
implementation project(':solr:solrj-zookeeper')
implementation project(':solr:modules:cross-dc')
Expand Down
1 change: 1 addition & 0 deletions solr/modules/clustering/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'java-library'
description = 'Search Results Clustering Integraton'

dependencies {
implementation platform(project(':platform'))
implementation project(':solr:core')
implementation project(':solr:solrj')

Expand Down
234 changes: 117 additions & 117 deletions solr/modules/clustering/gradle.lockfile

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions solr/modules/cross-dc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ext {
}

dependencies {
implementation platform(project(':platform'))
api project(':solr:core')
implementation project(':solr:solrj')
implementation project(':solr:solrj-zookeeper')
Expand Down
1 change: 1 addition & 0 deletions solr/modules/extraction/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'java-library'
description = 'Solr Integration with Tika for extracting content from binary file formats such as Microsoft Word and Adobe PDF'

dependencies {
implementation platform(project(':platform'))
implementation project(':solr:core')
implementation project(':solr:solrj')

Expand Down
1 change: 1 addition & 0 deletions solr/modules/gcs-repository/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'java-library'
description = 'GCS Backup Repository'

dependencies {
implementation platform(project(':platform'))
api project(':solr:core')
implementation project(':solr:solrj')

Expand Down
1 change: 1 addition & 0 deletions solr/modules/hdfs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'java-library'
description = 'HDFS Module'

dependencies {
implementation platform(project(':platform'))
implementation project(':solr:core')
implementation project(':solr:solrj')

Expand Down
3 changes: 2 additions & 1 deletion solr/modules/jwt-auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ configurations {
}

dependencies {
constraintsOnly(platform(libs.fasterxml.jackson.bom))
constraintsOnly platform(project(':platform'))
constraintsOnly platform(libs.fasterxml.jackson.bom)

implementation project(':solr:core')
implementation project(':solr:solrj')
Expand Down
1 change: 1 addition & 0 deletions solr/modules/llm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ description = 'Indexing/Query time integration with LLM'

dependencies {
compileOnly libs.stephenc.jcip.annotations
implementation platform(project(':platform'))
implementation project(':solr:core')
implementation project(':solr:solrj')

Expand Down
1 change: 1 addition & 0 deletions solr/modules/opentelemetry/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'java-library'
description = 'Open Telemetry (OTEL) tracer'

dependencies {
implementation platform(project(':platform'))
implementation project(':solr:core')
implementation project(':solr:solrj')

Expand Down
1 change: 1 addition & 0 deletions solr/modules/s3-repository/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'java-library'
description = 'S3 Repository'

dependencies {
implementation platform(project(':platform'))
api project(':solr:core')
implementation project(':solr:solrj')

Expand Down
1 change: 1 addition & 0 deletions solr/modules/scripting/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'java-library'
description = 'Scripting Package'

dependencies {
implementation platform(project(':platform'))
implementation project(':solr:core')
implementation project(':solr:solrj')

Expand Down
1 change: 1 addition & 0 deletions solr/modules/sql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'java-library'
description = 'SQL Module'

dependencies {
implementation platform(project(':platform'))
implementation project(':solr:core')
implementation project(':solr:solrj')
implementation project(':solr:solrj-streaming')
Expand Down
1 change: 1 addition & 0 deletions solr/prometheus-exporter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ apply plugin: 'java-library'
description = 'Prometheus exporter for exposing metrics from Solr using Metrics API and Search API'

dependencies {
implementation platform(project(':platform'))
implementation project(':solr:solrj')
runtimeOnly project(':solr:solrj-zookeeper')
// ideally remove ZK dep
Expand Down

0 comments on commit 31537e5

Please sign in to comment.