Skip to content

Commit 2304744

Browse files
committed
add build.gradle
1 parent b9cf010 commit 2304744

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

build.gradle

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one or more
2+
// contributor license agreements. See the NOTICE file distributed with
3+
// this work for additional information regarding copyright ownership.
4+
// The ASF licenses this file to You under the Apache License, Version 2.0
5+
// (the "License"); you may not use this file except in compliance with
6+
// the License. You may obtain a copy of the License at
7+
//
8+
// http://www.apache.org/licenses/LICENSE-2.0
9+
//
10+
// Unless required by applicable law or agreed to in writing, software
11+
// distributed under the License is distributed on an "AS IS" BASIS,
12+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
// See the License for the specific language governing permissions and
14+
// limitations under the License.
15+
16+
//
17+
// This file is modified by TOSHIBA Digital Solutions Corporation.
18+
//
19+
20+
apply plugin: 'java'
21+
apply plugin: 'eclipse'
22+
apply plugin: 'maven'
23+
archivesBaseName = "griddb-kafka-sink"
24+
25+
repositories {
26+
mavenLocal()
27+
mavenCentral()
28+
}
29+
30+
dependencies {
31+
compile "org.apache.kafka:connect-api:0.10.2.0"
32+
compile "org.slf4j:slf4j-api:1.7.6"
33+
compile "com.toshiba.mwcloud.gs:gridstore:3.0"
34+
compile group: 'net.arnx', name: 'jsonic', version: '1.3.0'
35+
36+
testCompile "junit:junit:4.11"
37+
testCompile "org.easymock:easymock:3.3.1"
38+
testCompile "org.powermock:powermock-module-junit4:1.6.2"
39+
testCompile "org.powermock:powermock-api-easymock:1.6.2"
40+
testRuntime "org.slf4j:slf4j-log4j12:1.7.6"
41+
}
42+
43+
task testJar(type: Jar) {
44+
classifier = 'test'
45+
from sourceSets.test.output
46+
}
47+
48+
test {
49+
testLogging {
50+
events "passed", "skipped", "failed"
51+
exceptionFormat = 'full'
52+
}
53+
}
54+
55+
javadoc {
56+
include "**/net/griddb/connect/*"
57+
}
58+
59+
artifacts {
60+
archives testJar
61+
}
62+
63+
configurations {
64+
archives.extendsFrom(testCompile)
65+
}
66+

0 commit comments

Comments
 (0)