@@ -2,7 +2,6 @@ plugins {
2
2
id " com.jfrog.bintray" version " 1.1"
3
3
id " com.github.jruby-gradle.base" version " 1.5.0"
4
4
id " scala"
5
- id " checkstyle"
6
5
id " com.diffplug.gradle.spotless" version " 3.27.1"
7
6
}
8
7
@@ -35,52 +34,19 @@ dependencies {
35
34
testCompile " org.embulk:embulk-test:0.9.23"
36
35
}
37
36
38
- compileScala {
39
- scalaCompileOptions. metaClass. useCompileDaemon = true
40
- }
41
-
42
37
spotless {
43
38
scala {
44
39
scalafmt(' 2.3.2' ). configFile(' .scalafmt.conf' )
45
40
}
46
41
}
47
42
48
- tasks. withType(ScalaCompile ) {
49
- configure(scalaCompileOptions. forkOptions) {
50
- memoryMaximumSize = ' 1g'
51
- jvmArgs = [' -XX:MaxPermSize=1024m' ]
52
- }
53
- }
54
-
55
- // Activating the Zinc based compiler
56
- tasks. withType(ScalaCompile ) {
57
- scalaCompileOptions. metaClass. useAnt = false
58
- }
59
-
60
43
task classpath (type : Copy , dependsOn : [" jar" ]) {
61
44
doFirst { file(" classpath" ). deleteDir() }
62
45
from (configurations. runtime - configurations. provided + files(jar. archivePath))
63
46
into " classpath"
64
47
}
65
48
clean { delete " classpath" }
66
49
67
- checkstyle {
68
- configFile = file(" ${ project.rootDir} /config/checkstyle/checkstyle.xml" )
69
- toolVersion = ' 6.14.1'
70
- }
71
- checkstyleMain {
72
- configFile = file(" ${ project.rootDir} /config/checkstyle/default.xml" )
73
- ignoreFailures = true
74
- }
75
- checkstyleTest {
76
- configFile = file(" ${ project.rootDir} /config/checkstyle/default.xml" )
77
- ignoreFailures = true
78
- }
79
- task checkstyle (type : Checkstyle ) {
80
- classpath = sourceSets. main. output + sourceSets. test. output
81
- source = sourceSets. main. allJava + sourceSets. test. allJava
82
- }
83
-
84
50
task gem (type : JRubyExec , dependsOn : [" gemspec" , " classpath" ]) {
85
51
jrubyArgs " -S"
86
52
script " gem"
@@ -109,18 +75,17 @@ task gemspec {
109
75
Gem ::Specification . new do |spec|
110
76
spec. name = " ${ project.name} "
111
77
spec. version = " ${ project.version} "
112
- spec. authors = [" Daisuke Higashi" ]
78
+ spec. authors = [" Daisuke Higashi" , " Civitaspo " ]
113
79
spec. summary = % [Dynamodb input plugin for Embulk ]
114
80
spec. description = % [" Loads records from Dynamodb." ]
115
- spec
. email
= [
" [email protected] " ]
81
+
116
82
spec. licenses = [" MIT" ]
117
83
spec. homepage = " https://github.com/lulichn/embulk-input-dynamodb"
118
84
119
85
spec. files = `git ls- files`. split(" \n " ) + Dir [" classpath/*.jar" ]
120
86
spec. test_files = spec. files. grep(% r" ^(test|spec)/" )
121
87
spec. require_paths = [" lib" ]
122
88
123
- #spec. add_dependency ' YOUR_GEM_DEPENDENCY' , [' ~> YOUR_GEM_DEPENDENCY_VERSION' ]
124
89
spec. add_development_dependency ' bundler' , [' ~> 1.0' ]
125
90
spec. add_development_dependency ' rake' , [' ~> 12.0' ]
126
91
end
0 commit comments