-
Notifications
You must be signed in to change notification settings - Fork 215
/
Copy pathbuild.gradle
39 lines (33 loc) · 900 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
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
['printer', 'simple_filesystem'].each {
// abc_def -> AbcDef
def name = it.split('_').collect { it.capitalize() }.join()
project(":demoManual${name}") {
slice {
java {
include = ["${projectDir}"]
srcDir = '.'
}
}
sourceSets {
main {
java {
srcDir '.'
}
}
}
dependencies {
implementation "com.zeroc:ice:${project.iceArtifactVersion}"
runtimeOnly "org.apache.commons:commons-compress:1.14"
}
// Don't create the default jar.
jar.enabled = false
clean {
delete fileTree(dir: 'db', excludes:['.gitignore', 'DB_CONFIG'])
}
demoJar("client")
demoJar("server")
}
}