novoda / gradle-build-properties-plugin

Keep your secrets secret. External build properties support for your Gradle scripts.
Other
110 stars 13 forks source link

Moving away from jcenter() repo #67

Closed boskicaruso closed 2 years ago

boskicaruso commented 3 years ago

Hi there, Are there any plans to migrate from jcenter() while repo is sunsetting ? More info here: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

tasomaniac commented 3 years ago

Hi, I don't think this plugin is maintained anymore. I wouldn't depend on it for the long term.

dbrgn commented 3 years ago

I replaced the plugin with the following Gradle snippet:

def getLocalProperties() {
    final Properties props = new Properties()
    if (file('secrets.properties').exists()) {
        props.load(new FileInputStream(file('secrets.properties')))
    }
    return props
}

final Properties properties = getLocalProperties()

...then you can use properties['key_name'] to access the values.

juankysoriano commented 2 years ago

Closing as this repository is no longer under maintenance and it's about to be archived