Skip to content

Instantly share code, notes, and snippets.

@tslmy
Created September 16, 2022 19:08
Show Gist options
  • Save tslmy/04e93fe2298ca2f36c5efc54a4c15bd7 to your computer and use it in GitHub Desktop.
Save tslmy/04e93fe2298ca2f36c5efc54a4c15bd7 to your computer and use it in GitHub Desktop.
Gradle can simply read your Maven settings.xml for the credentials
plugins {
// Applies security defined for a repository in Maven's settings.xml file to MavenRepository elements in a Gradle build - both upload and download. (https://plugins.gradle.org/plugin/org.hibernate.build.maven-repo-auth)
id "org.hibernate.build.maven-repo-auth" version "3.0.4"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment