gradle-git-properties
Gradle plugin for `git.properties` file generation
File Explorer
Download Latest Version (.zip)- build.yml
- fix-overlapping-outputs.md
- jgit-migration-validation.md
- version-parity-validation.md
- gradle-wrapper.jar
- gradle-wrapper.properties
- SLF4JBindingPostShadowTest.groovy
- GitBranch.groovy
- GitBranchInfo.groovy
- GitCommit.groovy
- GitFacade.groovy
- GitPerson.groovy
- GitStatus.groovy
- GitTag.groovy
- GitTagService.groovy
- RepositoryFactory.groovy
- AbstractGitProperty.groovy
- BranchProperty.groovy
- BuildHostProperty.groovy
- BuildUserEmailProperty.groovy
- BuildUserNameProperty.groovy
- BuildVersionProperty.groovy
- CacheSupport.groovy
- ClosestTagCommitCountProperty.groovy
- ClosestTagNameProperty.groovy
- CommitIdAbbrevProperty.groovy
- CommitIdDescribeProperty.groovy
- CommitIdProperty.groovy
- CommitMessageFullProperty.groovy
- CommitMessageShortProperty.groovy
- CommitTimeProperty.groovy
- CommitUserEmailProperty.groovy
- CommitUserNameProperty.groovy
- DirtyProperty.groovy
- RemoteOriginUrlProperty.groovy
- TagsProperty.groovy
- TotalCommitCountProperty.groovy
- SkipPropertiesCommentsOutputStream.groovy
- GenerateGitPropertiesTask.groovy
- GitProperties.groovy
- GitPropertiesPlugin.groovy
- PropertiesFileWriter.groovy
- NormalizeEOLOutputStream.java
- GitBranchTest.groovy
- GitDescribeTest.groovy
- GitFacadeTest.groovy
- GitStatusTest.groovy
- GitTagServiceTest.groovy
- JGitTestHelper.groovy
- JGitTestHelperTest.groovy
- RepositoryFactoryTest.groovy
- BranchPropertyTest.groovy
- BuildHostPropertyTest.groovy
- BuildUserEmailPropertyTest.groovy
- BuildUserNamePropertyTest.groovy
- BuildVersionPropertyTest.groovy
- CacheSupportTest.groovy
- ClosestTagCommitCountPropertyTest.groovy
- ClosestTagNamePropertyTest.groovy
- CommitIdAbbrevPropertyTest.groovy
- CommitIdDescribePropertyTest.groovy
- CommitIdPropertyTest.groovy
- CommitMessageFullPropertyTest.groovy
- CommitMessageShortPropertyTest.groovy
- CommitTimePropertyTest.groovy
- CommitUserEmailPropertyTest.groovy
- CommitUserNamePropertyTest.groovy
- DirtyPropertyTest.groovy
- GitRepositoryBuilder.groovy
- RemoteOriginUrlPropertyTest.groovy
- TagsPropertyTest.groovy
- TotalCommitCountPropertyTest.groovy
- NormalizeEOLOutputStreamTest.groovy
- SkipPropertiesCommentsOutputStreamTest.groovy
- BackwardCompatibilityFunctionalTest.groovy
- BasicFunctionalTest.groovy
- BuildCacheFunctionalTest.groovy
- BuildSrcFunctionalTest.groovy
- ConfigurationCacheFunctionalTest.groovy
- CustomPropertiesFacadeTest.groovy
- FSMonitorFunctionalTest.groovy
- GenerateGitPropertiesTaskTest.groovy
- GitPropertiesPluginExtensionTest.groovy
- GitPropertiesPluginTests.groovy
- GitPropertiesTest.groovy
- MultiProjectGitDirectoryFunctionalTest.groovy
- OverlappingOutputsBuildCacheFunctionalTest.groovy
- PropertiesFileWriterTest.groovy
- RealWorktreeFunctionalTest.groovy
- ShallowClonePropertiesTest.groovy
- SubmoduleFunctionalTest.groovy
- SymlinkedGitDirectoryFunctionalTest.groovy
- WorktreeFunctionalTest.groovy
- WorktreeUpToDateFunctionalTest.groovy
- shallowclone3.zip
- .gitignore
- build.gradle
- CHANGELOG.md
- DEVELOPMENT.md
- gradlew
- gradlew.bat
- LICENSE
- MIGRATION.md
- README.md
- settings.gradle
# Installation Guide
1. Get the code
git clone https://github.com/n0mer/gradle-git-properties
Downloads the entire project code from GitHub to your computer.
cd gradle-git-properties
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
id "com.gorylenko.gradle-git-properties" version "4.0.1"
Builds the project using Gradle.
id("com.gorylenko.gradle-git-properties") version "4.0.1"
Builds the project using Gradle.
./gradlew generateGitProperties
Builds the project using Gradle.
import org.gradle.kotlin.dsl.KotlinClosure1
Builds the project using Gradle.
"url": "git@github.com:n0mer/gradle-git-properties.git"
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
