Skip to content
This repository has been archived by the owner on Dec 14, 2019. It is now read-only.

pomes/gradle-plugin-props

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradle Props plugin

A very small plugin that reads in Java property files and adds the properties to the project under project.propertyFiles

To add a property file, just provide its name (no extension) in the propertyFiles block. In the example below I read in the secrets.properties file:

propertyFiles {
    secrets {}
}

To access the the property:

project.propertyFiles.secrets.properties.<property name>

About

Small plugin to read properties file(s) into the project structure

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages