---
title: "Discussion on \"How to publish Java Artifact using Build tool Gradle To Repository (Nexus)\" | Hashnode"
description: "Discussion on \"How to publish Java Artifact using Build tool Gradle To Repository (Nexus)\". How to publish Using Gradle build tool\n\nYou need to configure each build tool with Nexus credentials and address\nAdd the following code snippet in the build.gradle file in your project.\nThis file is also called the Gradle build script. The build conf..."
url: "https://hashnode.com/posts/how-to-publish-java-artifact-using-build-tool-gradle-to-repository-nexus/62c00e55e4246414d3d331ec"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to publish Java Artifact using Build tool Gradle To Repository (Nexus)](https://pankaj-singhr.hashnode.dev/how-to-publish-java-artifact-using-build-tool-gradle-to-repository-nexus?utm_source=hashnode&utm_medium=feed)

How to publish Using Gradle build tool You need to configure each build tool with Nexus credentials and address Add the following code snippet in the build.gradle file in your project. This file is also called the Gradle build script. The build conf...

Jun 15, 2022 · 2 min read · pankaj-singhr.hashnode.dev  
Read the article

-   [#build-tool](https://hashnode.com/tag/build-tool)
-   [#java](https://hashnode.com/tag/java)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Pankaj Singh](https://hashnode.com/@Pankaj-SinghR)

@Pankaj-SinghR · India

  
[View profile](https://hashnode.com/@Pankaj-SinghR)

Backend Dev | Opensource Contributor

Backend Wizard 🧙‍♂️ | Open Source Advocate 🔥 | Rocking the Remote Life 💻 | Let's Connect &amp; Grow in Open Source World 🌊🤝

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
