Skip to content

Commit a86ca68

Browse files
authored
Merge pull request #52 from embulk/disable-gradle-module
Disable publishing a Gradle Module Metadata in 0.4.1-SNAPSHOT
2 parents 52091c8 + 7630c6a commit a86ca68

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sourceCompatibility = 1.8
2121
targetCompatibility = 1.8
2222

2323
group = "org.embulk"
24-
version = "0.4.0-SNAPSHOT"
24+
version = "0.4.1-SNAPSHOT"
2525
description = "Reads files stored on Google Cloud Storage."
2626

2727
tasks.withType(JavaCompile) {
@@ -133,6 +133,12 @@ javadocJar {
133133
from rootProject.file("NOTICE")
134134
}
135135

136+
// It should not publish a `.module` file in Maven Central.
137+
// https://docs.gradle.org/current/userguide/publishing_gradle_module_metadata.html#sub:disabling-gmm-publication
138+
tasks.withType(GenerateModuleMetadata) {
139+
enabled = false
140+
}
141+
136142
publishing {
137143
publications {
138144
maven(MavenPublication) {

0 commit comments

Comments
 (0)