[GRADLE-1878] milestone 5 broke PgpPlugin Created: 30/Oct/11 Updated: 04/Jan/13 Resolved: 30/Oct/11
|Resolution:||Not A Bug||Votes:||0|
My PgpPlugin setup works fine with 1.0-milestone-3.
Croaks with milestone 5 because project.getByName("string") is no longer available. I see nothing in the Gradle release notes or upgrade guides about any changes to a getByName method.
Little sampling from stack trace:
The attached Gradle test file works with milestone 3 and fails with milestone 5.
|Comment by Adam Murdoch [ 30/Oct/11 ]|
Project.getByName() was never a supported way to access tasks, and was removed in milestone-5. We forgot to mention this in the migration guide. This is fixed now: http://wiki.gradle.org/display/GRADLE/Gradle+1.0-milestone-5+Migration+Guide#Gradle1.0-milestone-5MigrationGuide-Projectmethods
This gives you some examples of supported ways to access tasks.
|Comment by Joern Huxhorn [ 01/Nov/11 ]|
I won't support the PGPPlugin anymore since Gradle includes similar functionality with the Signing plugin.
I just updated the Plugin page accordingly.