Skip to content

Commit

Permalink
Remove publishing task (opensearch-project#33)
Browse files Browse the repository at this point in the history
Co-authored-by: Mital Awachat <awachatm@amazon.com>

Signed-off-by: Mital Awachat <mitalawachat@users.noreply.github.com>
  • Loading branch information
mitalawachat authored and imRishN committed Feb 3, 2022
1 parent 4539940 commit 0e474f7
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,52 +91,6 @@ val unitTest = task<Test>("unitTest") {
}
}

publishing {
repositories {
maven {
// See https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry
name = "ESJavaGithubPackages"
url = uri("https://maven.pkg.github.com/elastic/elasticsearch-java")
credentials(PasswordCredentials::class)
}

maven {
name = "Build"
url = uri("${rootProject.buildDir}/repository")
}
}

publications {
create<MavenPublication>("maven") {
from(components["java"])
pom {
name.set("Elasticsearch Java Client")
artifactId = "elasticsearch-java"
description.set("Next-gen Elasticsearch Java Client")
url.set("https://github.com/elastic/elasticsearch-java/")
licenses {
license {
name.set("The Apache Software License, Version 2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
name.set("Elastic")
url.set("https://www.elastic.co")
inceptionYear.set("2020")
}
}
scm {
connection.set("scm:git:https://github.com/elastic/elasticsearch-java.git")
developerConnection.set("scm:git:ssh://git@github.com:elastic/elasticsearch-java.git")
url.set("https://github.com/elastic/elasticsearch-java/")
}
}
}
}
}

dependencies {

val opensearchVersion = "1.2.4"
Expand Down

0 comments on commit 0e474f7

Please sign in to comment.