-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
95 lines (83 loc) · 2.74 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
plugins {
id "java-library"
id "org.embulk.embulk-plugins" version "0.5.5"
id "maven-publish"
id "signing"
}
group = "io.github.hishidama.embulk"
version = "0.2.0"
description = "Excel parser plugin for Embulk with Apache POI"
sourceCompatibility = 8
targetCompatibility = 8
compileJava.options.encoding = 'UTF-8'
java {
withJavadocJar()
withSourcesJar()
}
javadoc {
options.charSet = 'UTF-8'
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
embulkPlugin {
mainClass = "org.embulk.parser.poi_excel.PoiExcelParserPlugin"
category = "parser"
type = "poi_excel"
}
dependencies {
compileOnly "org.embulk:embulk-api:0.10.43"
compileOnly "org.embulk:embulk-spi:0.11"
compile "org.embulk:embulk-util-config:0.3.4"
compile "org.embulk:embulk-util-file:0.1.5"
compile "org.embulk:embulk-util-timestamp:0.2.2"
compile "org.apache.poi:poi:5.2.3"
compile "org.apache.poi:poi-ooxml:5.2.3"
// compile "YOUR_JAR_DEPENDENCY_GROUP:YOUR_JAR_DEPENDENCY_MODULE:YOUR_JAR_DEPENDENCY_VERSION"
testCompile "org.embulk:embulk-deps:0.11.0"
testCompile "org.embulk:embulk-junit4:0.11.0"
testCompile "io.github.hishidama.embulk:hm-embulk-tester:0.1.+"
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'embulk-parser-excel-poi'
from components.java
pom {
name = 'Excel parser plugin for Embulk with Apache POI'
description = 'Parses Excel files(xls, xlsx) read by other file input plugins.'
url = 'https://github.com/hishidama/embulk-parser-excel-poi'
licenses {
license {
name = 'MIT License'
url = 'http://www.opensource.org/licenses/mit-license.php'
}
}
developers {
developer {
id = 'hishidama'
}
}
scm {
connection = 'git@github.com:hishidama/embulk-parser-excel-poi.git'
developerConnection = 'git@github.com:hishidama/embulk-parser-excel-poi.git'
url = 'https://github.com/hishidama/embulk-parser-excel-poi'
}
}
}
}
repositories {
maven {
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username findProperty('sonatypeUsername')
password findProperty('sonatypePassword')
}
}
}
}
signing {
required { gradle.taskGraph.hasTask("publishMavenJavaPublicationToMavenRepository") }
sign publishing.publications.mavenJava
}