-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
76 lines (63 loc) · 2.09 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
mainClassName = "com.toshiba.mwcloud.gs.tools.shell.GridStoreShell"
sourceCompatibility = '1.8'
sourceSets {
main {
java {
srcDirs = ['src']
}
}
}
def gridstoreVersion = '5.7.0'
def gridstoreJdbcVersion = '5.7.0'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.16.1'
implementation 'com.fasterxml.jackson.core:jackson-core:2.16.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
implementation 'commons-cli:commons-cli:1.6.0'
implementation 'commons-beanutils:commons-beanutils:1.9.4'
implementation 'commons-collections:commons-collections:3.2.2'
implementation 'org.apache.commons:commons-lang3:3.14.0'
implementation 'commons-logging:commons-logging:1.3.0'
implementation 'org.jline:jline:3.17.1'
implementation 'ch.qos.logback:logback-classic:1.2.13'
implementation 'ch.qos.logback:logback-core:1.2.13'
implementation 'org.glassfish:javax.json:1.0'
implementation 'com.opencsv:opencsv:3.9'
implementation 'org.slf4j:slf4j-api:1.7.36'
implementation 'com.github.griddb:gridstore:' + "${gridstoreVersion}"
implementation 'com.github.griddb:gridstore-jdbc:' + "${gridstoreJdbcVersion}"
implementation project(":griddb-tools-common")
}
jar {
manifest {
attributes(
"Main-Class": mainClassName
)
}
from ('./src') {
include 'META-INF/services/*'
include "com/toshiba/mwcloud/gs/tools/shell/*.properties"
include "com/toshiba/mwcloud/gs/tools/shell/commands/*.properties"
}
archiveBaseName = 'griddb-cli'
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy "exclude"
destinationDirectory = file('release/')
}
task prepareDirs {
mustRunAfter clean
doLast {
mkdir "target"
}
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'