Closed sanao1006 closed 6 months ago
@takahirom Currently there are no build errors in your environment. However, adding the flag caused the error, so maybe this PR should be closed.
If I want to contribute something to Roborazzi, no problem to add the flag in my local environment.
What do you think?
@sanao1006 We are using a symbolic link to ../gradle.properties in include-build/gradle.properties because we can share the gradle.properties with root modules. So you might have to change the root module :eyes:
So you might have to change the root module
I see.
However, there is already a android.useAndroidX=true
flag in root gradle.properties.
https://github.com/takahirom/roborazzi/blob/08af633980359e153bf94045357a9a34b8ab415a/gradle.properties#L29
So I am not sure why the error is occurring in CI...
@sanao1006 May I ask if you are using Windows PC? This is because the symbolic link may not work.
@takahirom Yes, I use a Windows PC.
Hmmm... Then this issue may be a Windows-specific error.
@sanao1006 As a workaround, I think you can copy and paste /gradle.properties to include-build/gradle.properties to build Roborazzi. Well, there are pros and cons of introducing the change so let me close for now.
why
Because of missing
android.useAndroidX=true
flag in:roborazzi-core
module, build errors were occurring.Fixes #278