-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (37 loc) · 1.13 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
plugins {
id 'java'
id 'wrapper'
id "com.needhamsoftware.solr-gradle" version "1.0.2"
id 'com.needhamsoftware.unojar' version '1.1.0'
}
group 'org.jesterj'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jsoup:jsoup:1.17.2' // for RemoveNavsProcessor
implementation ('org.jesterj:jesterj-ingest:1.0.0') {
exclude group: 'ch.qos.logback'
}
}
solr {
zkHost 'localhost:2181/solr__home_gus_projects_gus-asf_solr_fork_testing_2024-02-12'
confName 'ref-guide'
confDir 'src/main/solr/configs/ref-guide'
}
configurations {
unoJarPack
// things we don't want to include for license or bloat reasons can be named here.
// We definitely don't want to pack an entire set of JesterJ dependencies since
// those will already be provided when running within JesterJ
unoJarPack.exclude group: 'org.jesterj'
unoJarPack.extendsFrom runtime
}
// Since custom steps introduce dependencies of their own we need to package with unojar to provide them.
ext.archiveName = project.name
unojar {
archivesBaseName = archiveName
archiveClassifier = "dep"
mainClass = 'org.example.do.not.Run'
}