You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
When upgrading to Android Gradle Plugin 7.3 the following issue is appearing:
Cannot convert the provided notation to a File or URI: [C:\Users\XX\workspace\gradle-konfig\test-app\app\build\generated\source\konfig\preprod\debug].
The issue might be on windows only.
The line causing the issue is configuration.sourceSets[variant.name].java.srcDir(outputDirectory)
where outputDirectory is a File, so this is clearly an issue with the AGP plugin.
In the mean time, I removed this line to bypass the issue. It's still working because it looks like you don't need to register the dir manually if it's in the default build/generated directory. Or it might be because I'm using other libs like dagger that might be registering the whole directory.
If anyone has the same bug, you can use the following artifact available on jitpack:
When upgrading to Android Gradle Plugin 7.3 the following issue is appearing:
The issue might be on windows only.
The line causing the issue is
configuration.sourceSets[variant.name].java.srcDir(outputDirectory)
where
outputDirectory
is aFile
, so this is clearly an issue with the AGP plugin.In the mean time, I removed this line to bypass the issue. It's still working because it looks like you don't need to register the dir manually if it's in the default
build/generated
directory. Or it might be because I'm using other libs like dagger that might be registering the whole directory.If anyone has the same bug, you can use the following artifact available on jitpack:
com.github.badoualy.gradle-konfig:fr.sjcqs.konfig.gradle.plugin:1902fc41b2
The text was updated successfully, but these errors were encountered: