amzn / kotlin-inject-anvil

Extensions for the kotlin-inject dependency injection framework
Apache License 2.0
182 stars 2 forks source link

Fix automatic releasing #23

Closed vRallev closed 1 week ago

vRallev commented 1 week ago

Use the Gradle task to release artifacts on Sonatype. The Gradle property does not work, when enabling publishing through the DSL as we do. The author of the plugin said:

Are you using SONATYPE_HOST or the dsl method to enable maven central publishing? If it's the latter then the automatic release Gradle property is ignored. publishToMavenCentral() has a second optional boolean parameter to enable automatic releases. There are some inconsistencies when mixing DSL and properties that I need to improve in the plugin