How can I use an Encrypted Password to a Maven Repository in Gradle

前端 未结 2 1008
萌比男神i
萌比男神i 2021-01-04 02:08

I\'m currently trying to transisiton a maven build to a Gradle build. The show stopper hurdle I\'ve hit is that our internal artifacts are deployed to an internal repositor

2条回答
  •  旧时难觅i
    2021-01-04 02:24

    The gradle-credentials plugin will let you encrypt the contents of a gradle.encrypted.properties file, which will then be available in the build as properties of the credentials object.

    The gradle maven settings plugin will let you use Maven's system for encrypting/decrypting credentials.

提交回复
热议问题