Thanks, that was a typo and I also create the configuration. But still it doesn’t work.
I have spent a lot of time on this and I am starting to feel confident there’s a bug somewhere, just not sure whether in Gradle or in the Android Gradle Plugin. The Android Gradle Plugin registers an artifact transform called JetifyTransform which receives a list of files like this
@get:InputArtifact
abstract val inputArtifact: Provider<FileSystemLocation>
Yet my specific file does not exist when the transform is invoked, because the source task was not executed. What can I do to investigate more? Does gradle deal correctly with artifact transform in this case?
I have also posted:
- a question on SO : https://stackoverflow.com/q/61788634/4288782
- a bug on AGP : https://issuetracker.google.com/issues/156530198
but I don’t expect any answer from them before the usual three weeks or so. Any hints @Rene ?