996 B
996 B
{library}
{description}
Publish gradle plugin locally.
./gradlew clean publishToMavenLocal
Releasing gradle plugin.
Run release pipeline from master branch.
Publish gradle plugin to repository.
./gradlew clean publishAllPublicationsToGiteaPackagesRepository
Global gradle properties.
To authenticate with Gradle to access repositories that require authentication, you can set your user and token in the gradle.properties file.
Here's how you can do it:
- Open or create the
gradle.propertiesfile in your Gradle user home directory:
- On Unix-like systems (Linux, macOS), this directory is typically
~/.gradle/. - On Windows, this directory is typically
C:\Users\<YourUsername>\.gradle\.
- Add the following lines to the
gradle.propertiesfile:or use environment variablesrepository.<name>.user=your_user repository.<name>.token=your_token_valueREPOSITORY_USERandREPOSITORY_TOKEN