-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
45 lines (37 loc) · 989 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apply plugin: 'java'
apply plugin: 'application'
allprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'com.semantic'
version = '1.0'
repositories {
mavenCentral()
}
}
subprojects {
// define configurations property for subprojects dependencies export
configurations {
publish
compile.extendsFrom publish
}
// copy all libraries to folder
task copyToLib(type: Copy) {
into "$buildDir/output/lib"
from configurations.publish
}
}
mainClassName = "com.semantic.ApplicationContext"
// prepare subprojects for release
task release() {
dependsOn subprojects.build
dependsOn subprojects.copyToLib
dependsOn(":search-installer:izPackCreateInstaller")
}
dependencies {
compile project('search-core')
compile project('search-handler-tika')
compile project('search-view-worldwind')
compile project('search-installer')
}