Skip to content

Instantly share code, notes, and snippets.

@dwelch2344
Created October 2, 2024 21:57
Show Gist options
  • Save dwelch2344/eb86c20b737c07db772d93fbd6039454 to your computer and use it in GitHub Desktop.
Save dwelch2344/eb86c20b737c07db772d93fbd6039454 to your computer and use it in GitHub Desktop.
GGG
@dwelch2344
Copy link
Author

maven {
			name = "nes-github-spring"
			url = uri(providers.gradleProperty("herodevs_nes_github_registry_url").get() + "/spring")
			credentials {
				username = providers.gradleProperty("herodevs_nes_github_registry_user").get()
				password = providers.gradleProperty("herodevs_nes_github_registry_token").get()
			}
		}
		```

@dwelch2344
Copy link
Author

plugins {
  ...
  id 'maven-publish'
}

publishing {
  ...

  repositories {
    maven {
      name = "GitHubPackages"
      url = "https://maven.pkg.github.com/neverendingsupport/spring"
      credentials {
        username = System.getenv("GITHUB_ACTOR")
        password = System.getenv("GITHUB_TOKEN")
      }
    }
  }
}

@dwelch2344
Copy link
Author

eval "$(direnv hook bash)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment