I am trying to build my spring boot project in IntelliJ idea but it gives the following error. I am using Gradle to build the project.
Caused by: org.gradle.api.internal.provider.MissingValueException: The following Gradle properties are missing for 'GitHubPackages' credentials:
- GitHubPackagesUsername
- GitHubPackagesPassword
at org.gradle.api.internal.provider.CredentialsProviderFactory$CredentialsProvider.assertRequiredValuesPresent(CredentialsProviderFactory.java:119)
at org.gradle.api.internal.provider.CredentialsProviderFactory$PasswordCredentialsProvider.call(CredentialsProviderFactory.java:138)
CodePudding user response:
Add a gradle.properties file that contains the following properties
GitHubPackagesUsername=yourUsername
GitHubPackagesPassword=tokenId
and save it in the .gradle folder