-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
72 lines (62 loc) · 1.8 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
plugins {
id "scala"
id "maven-publish"
id "com.diffplug.gradle.spotless" version "3.27.1"
id "org.embulk.embulk-plugins" version "0.4.1"
}
repositories {
mavenCentral()
jcenter()
}
group = "pro.civitaspo"
version = "0.2.0"
description = "An filter plugin for Embulk (https://github.com/embulk/embulk/) that" +
" copies loaded data to your defined embulk filters & output plugins."
dependencies {
compileOnly "org.embulk:embulk-core:0.9.23"
compile "org.scala-lang:scala-library:2.13.1"
testImplementation "org.embulk:embulk-deps-buffer:0.9.23"
testImplementation "org.embulk:embulk-deps-config:0.9.23"
testImplementation "org.embulk:embulk-core:0.9.23"
testImplementation "org.embulk:embulk-core:0.9.23:tests"
testImplementation "org.embulk:embulk-standards:0.9.23"
testImplementation "org.scalatest:scalatest_2.13:3.1.1"
}
embulkPlugin {
mainClass = "pro.civitaspo.embulk.filter.copy.CopyFilterPlugin"
category = "filter"
type = "copy"
}
publishing {
publications {
embulkPluginMaven(MavenPublication) {
from components.java
}
}
repositories {
maven {
url = "${project.buildDir}/mavenPublishLocal"
}
}
}
spotless {
scala {
scalafmt('2.4.2').configFile('.scalafmt.conf')
}
}
gem {
from("LICENSE.txt")
authors = ["Civitaspo"]
email = [ "[email protected]" ]
summary = "An embulk filter plugin to copy loaded data."
homepage = "https://github.com/civitaspo/embulk-filter-copy"
licenses = ["MIT"]
}
gemPush {
host = "https://rubygems.org"
}
task scalatest(dependsOn: ['testClasses'], type: JavaExec) {
main = 'org.scalatest.tools.Runner'
args = ['-R', 'build/classes/scala/test', '-oDF']
classpath = sourceSets.test.runtimeClasspath
}