-
Notifications
You must be signed in to change notification settings - Fork 21
/
build.gradle
27 lines (23 loc) · 914 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
apply plugin: 'java'
repositories {
mavenLocal()
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://archiva-repository.apache.org/archiva/repository/snapshots/" }
}
/*
If you want to use the latest snapshot version you can generate it by using cloning lucene and install locally into maven
`./gradlew clean assemble publishToMavenLocal`
*/
/*
To build with a different version of lucene you can use
./gradlew clean build -Dlucene.version=9.8.0
*/
def version = System.getProperty("lucene.version", "10.0.0-SNAPSHOT")
dependencies {
implementation "org.apache.lucene:lucene-core:${version}"
implementation "org.apache.lucene:lucene-queries:${version}"
implementation "org.apache.lucene:lucene-codecs:${version}"
implementation "org.apache.lucene:lucene-sandbox:${version}"
}