Closed crysxd closed 3 years ago
Yeah, see #885.
You'll want to import com.github.triplet.gradle.androidpublisher.ResolutionStrategy
and slap a d on the number to make it work for whatever reason: 1.0d
. Sidenote: setting the user fraction to 1 is unnecessary.
Describe the bug
I tried to upgrade to 3.0.0 as 2.8.0 does not seem to be compatible with Android gradle plugin 4.1+. I followed the instructions I found around the repo and replaced all
=
withset
and looked up the example configurations in the readme.I get two errors:
Cannot set the value of extension 'play' property 'userFraction' of type java.lang.Double using an instance of type java.math.BigDecimal.
No such property: IGNORE for class: org.gradle.api.artifacts.ResolutionStrategy
The first one is especially odd as I use
userFraction.set(1.0)
which for some reason is aBigDecimal
. The second one is a missing import I guess but the readme does not state any import requirements.Thanks for your support!
How To Reproduce
The code is available here, configuration in
app/build.gradle
. https://gitlab.com/crysxd/octoapp/-/tree/235-upadte-google-play-publisherVersions
Tasks executed
Failes to sync, so all tasks :)