Using previous code naively, the following exception is raised:
> Error while evaluating property 'benchmarkParameters' of task ':benchmarks:jmh'
> Failed to calculate the value of task ':benchmarks:jmh' property 'benchmarkParameters'.
> Failed to query the value of extension 'jmh' property 'benchmarkParameters'.
> Cannot get the value of a property of type java.util.Map with value type org.gradle.api.provider.ListProperty as the source contains a value of type java.util.ArrayList.
A workaround exists so I wouldn't say this is critical, but I was wondering if this API change was intentional.
Modification
Modify addMapOption to receive a List value instead of a ListProperty value
Motivation
ex) https://github.com/line/armeria/pull/3811
It seems like most usages assume that the parameter values are
List
rather thanListProperty
ref: https://github.com/search?l=Gradle&p=5&q=benchmarkParameters&type=CodeUsing previous code naively, the following exception is raised:
A workaround exists so I wouldn't say this is critical, but I was wondering if this API change was intentional.
Modification
addMapOption
to receive aList
value instead of aListProperty
value