Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit 4458f64

Browse files
committed
Don't publish gradle module metadata. Include SHA512 checksums.
1 parent 534c814 commit 4458f64

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ configure(rootProject) {
131131
mavenBuildRepo = file("${buildDir}/maven")
132132
}
133133

134+
// Do not generate gradle metadata files.
135+
tasks.withType(GenerateModuleMetadata) {
136+
enabled = false
137+
}
138+
134139
publishing {
135140
repositories {
136141
maven {
@@ -234,8 +239,7 @@ configure(rootProject) {
234239
archiveFileName = "bundle-${project.archivesBaseName}-${project.version}.zip"
235240
destinationDirectory = file("${buildDir}/sonatype")
236241

237-
from(mavenBuildRepo, {
238-
exclude "**/maven-metadata*"
242+
from(file("${mavenBuildRepo}/org/carrot2/elasticsearch-carrot2/${project.version}"), {
239243
})
240244
}
241245
}

gradle.properties

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

0 commit comments

Comments
 (0)