Skip to content

Commit 5bbf887

Browse files
authored
Merge pull request #28 from embulk/build-with-gradle-plugin-0.5.5
Upgrade the Gradle wrapper to 7.6.1
2 parents 76ade3c + 1a1ed08 commit 5bbf887

File tree

81 files changed

+1389
-684
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+1389
-684
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id "java"
33
id "java-library"
44
id "maven-publish"
5-
id "org.embulk.embulk-plugins" version "0.4.2" apply false
5+
id "org.embulk.embulk-plugins" version "0.5.5" apply false
66
}
77

88
repositories {

embulk-decoder-bzip2/NOTICE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
embulk-decoder-bzip2
2+
Copyright 2016-2023 The Embulk project
3+
4+
This product includes software developed at
5+
The Embulk project (https://www.embulk.org/).

embulk-decoder-bzip2/build.gradle

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,32 @@ group = rootProject.group
1212
version = rootProject.version
1313
description = "Decodes bzip2 files read by other file input plugins."
1414

15-
sourceCompatibility = 1.8
16-
targetCompatibility = 1.8
15+
configurations {
16+
compileClasspath.resolutionStrategy.activateDependencyLocking()
17+
runtimeClasspath.resolutionStrategy.activateDependencyLocking()
18+
}
19+
20+
tasks.withType(JavaCompile) {
21+
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
22+
options.encoding = "UTF-8"
23+
}
24+
25+
java {
26+
toolchain {
27+
languageVersion = JavaLanguageVersion.of(8)
28+
}
29+
30+
withJavadocJar()
31+
withSourcesJar()
32+
}
1733

1834
dependencies {
1935
compileOnly "org.embulk:embulk-api:0.10.33"
2036
compileOnly "org.embulk:embulk-spi:0.10.33"
2137

22-
compile "org.embulk:embulk-util-config:0.3.1"
23-
compile "org.embulk:embulk-util-file:0.1.3"
24-
compile "org.apache.commons:commons-compress:1.10"
38+
implementation "org.embulk:embulk-util-config:0.3.1"
39+
implementation "org.embulk:embulk-util-file:0.1.3"
40+
implementation "org.apache.commons:commons-compress:1.10"
2541
}
2642

2743
embulkPlugin {
@@ -30,26 +46,25 @@ embulkPlugin {
3046
type = "bzip2"
3147
}
3248

33-
tasks.withType(JavaCompile) {
34-
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
35-
options.encoding = "UTF-8"
36-
}
37-
38-
java {
39-
withJavadocJar()
40-
withSourcesJar()
41-
}
42-
4349
jar {
44-
from rootProject.file("LICENSE")
50+
metaInf {
51+
from rootProject.file("LICENSE")
52+
from project.file("NOTICE")
53+
}
4554
}
4655

4756
sourcesJar {
48-
from rootProject.file("LICENSE")
57+
metaInf {
58+
from rootProject.file("LICENSE")
59+
from project.file("NOTICE")
60+
}
4961
}
5062

5163
javadocJar {
52-
from rootProject.file("LICENSE")
64+
metaInf {
65+
from rootProject.file("LICENSE")
66+
from project.file("NOTICE")
67+
}
5368
}
5469

5570
publishing {
@@ -123,13 +138,22 @@ publishing {
123138
}
124139

125140
signing {
141+
if (project.hasProperty("signingKey") && project.hasProperty("signingPassword")) {
142+
logger.lifecycle("Signing with an in-memory key.")
143+
useInMemoryPgpKeys(signingKey, signingPassword)
144+
}
126145
sign publishing.publications.maven
127146
}
128147

129148
test {
130149
testLogging {
131-
outputs.upToDateWhen { false }
150+
events "passed", "skipped", "failed", "standardOut", "standardError"
151+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
152+
showCauses = true
153+
showExceptions = true
154+
showStackTraces = true
132155
showStandardStreams = true
156+
outputs.upToDateWhen { false }
133157
}
134158
}
135159

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This is a Gradle generated file for dependency locking.
2+
# Manual edits can break the build and are not advised.
3+
# This file is expected to be part of source control.
4+
com.fasterxml.jackson.core:jackson-annotations:2.6.7=runtimeClasspath
5+
com.fasterxml.jackson.core:jackson-core:2.6.7=runtimeClasspath
6+
com.fasterxml.jackson.core:jackson-databind:2.6.7=runtimeClasspath
7+
com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.6.7=runtimeClasspath
8+
javax.validation:validation-api:1.1.0.Final=runtimeClasspath
9+
org.apache.commons:commons-compress:1.10=compileClasspath,runtimeClasspath
10+
org.embulk:embulk-api:0.10.33=compileClasspath
11+
org.embulk:embulk-spi:0.10.33=compileClasspath
12+
org.embulk:embulk-util-config:0.3.1=compileClasspath,runtimeClasspath
13+
org.embulk:embulk-util-file:0.1.3=compileClasspath,runtimeClasspath
14+
org.msgpack:msgpack-core:0.8.11=compileClasspath
15+
org.slf4j:slf4j-api:1.7.30=compileClasspath
16+
empty=

embulk-decoder-bzip2/gradle/dependency-locks/embulkPluginRuntime.lockfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

embulk-decoder-gzip/NOTICE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
embulk-decoder-gzip
2+
Copyright 2014-2023 The Embulk project
3+
4+
This product includes software developed at
5+
The Embulk project (https://www.embulk.org/).

embulk-decoder-gzip/build.gradle

Lines changed: 42 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,31 @@ group = rootProject.group
1212
version = rootProject.version
1313
description = "Decodes gzip files read by other file input plugins."
1414

15-
sourceCompatibility = 1.8
16-
targetCompatibility = 1.8
15+
configurations {
16+
compileClasspath.resolutionStrategy.activateDependencyLocking()
17+
runtimeClasspath.resolutionStrategy.activateDependencyLocking()
18+
}
19+
20+
tasks.withType(JavaCompile) {
21+
options.compilerArgs << "-Xlint:deprecation" << "-Xlint:unchecked"
22+
options.encoding = "UTF-8"
23+
}
24+
25+
java {
26+
toolchain {
27+
languageVersion = JavaLanguageVersion.of(8)
28+
}
29+
30+
withJavadocJar()
31+
withSourcesJar()
32+
}
1733

1834
dependencies {
1935
compileOnly "org.embulk:embulk-api:0.10.33"
2036
compileOnly "org.embulk:embulk-spi:0.10.33"
2137

22-
compile "org.embulk:embulk-util-config:0.3.1"
23-
compile "org.embulk:embulk-util-file:0.1.3"
38+
implementation "org.embulk:embulk-util-config:0.3.1"
39+
implementation "org.embulk:embulk-util-file:0.1.3"
2440
}
2541

2642
embulkPlugin {
@@ -29,26 +45,25 @@ embulkPlugin {
2945
type = "gzip"
3046
}
3147

32-
tasks.withType(JavaCompile) {
33-
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
34-
options.encoding = "UTF-8"
35-
}
36-
37-
java {
38-
withJavadocJar()
39-
withSourcesJar()
40-
}
41-
4248
jar {
43-
from rootProject.file("LICENSE")
49+
metaInf {
50+
from rootProject.file("LICENSE")
51+
from project.file("NOTICE")
52+
}
4453
}
4554

4655
sourcesJar {
47-
from rootProject.file("LICENSE")
56+
metaInf {
57+
from rootProject.file("LICENSE")
58+
from project.file("NOTICE")
59+
}
4860
}
4961

5062
javadocJar {
51-
from rootProject.file("LICENSE")
63+
metaInf {
64+
from rootProject.file("LICENSE")
65+
from project.file("NOTICE")
66+
}
5267
}
5368

5469
publishing {
@@ -126,13 +141,22 @@ publishing {
126141
}
127142

128143
signing {
144+
if (project.hasProperty("signingKey") && project.hasProperty("signingPassword")) {
145+
logger.lifecycle("Signing with an in-memory key.")
146+
useInMemoryPgpKeys(signingKey, signingPassword)
147+
}
129148
sign publishing.publications.maven
130149
}
131150

132151
test {
133152
testLogging {
134-
outputs.upToDateWhen { false }
153+
events "passed", "skipped", "failed", "standardOut", "standardError"
154+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
155+
showCauses = true
156+
showExceptions = true
157+
showStackTraces = true
135158
showStandardStreams = true
159+
outputs.upToDateWhen { false }
136160
}
137161
}
138162

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# This is a Gradle generated file for dependency locking.
2+
# Manual edits can break the build and are not advised.
3+
# This file is expected to be part of source control.
4+
com.fasterxml.jackson.core:jackson-annotations:2.6.7=runtimeClasspath
5+
com.fasterxml.jackson.core:jackson-core:2.6.7=runtimeClasspath
6+
com.fasterxml.jackson.core:jackson-databind:2.6.7=runtimeClasspath
7+
com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.6.7=runtimeClasspath
8+
javax.validation:validation-api:1.1.0.Final=runtimeClasspath
9+
org.embulk:embulk-api:0.10.33=compileClasspath
10+
org.embulk:embulk-spi:0.10.33=compileClasspath
11+
org.embulk:embulk-util-config:0.3.1=compileClasspath,runtimeClasspath
12+
org.embulk:embulk-util-file:0.1.3=compileClasspath,runtimeClasspath
13+
org.msgpack:msgpack-core:0.8.11=compileClasspath
14+
org.slf4j:slf4j-api:1.7.30=compileClasspath
15+
empty=

embulk-decoder-gzip/gradle/dependency-locks/embulkPluginRuntime.lockfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

embulk-encoder-bzip2/NOTICE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
embulk-decoder-bzip2
2+
Copyright 2016-2023 The Embulk project
3+
4+
This product includes software developed at
5+
The Embulk project (https://www.embulk.org/).

0 commit comments

Comments
 (0)