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
Building a multiplatform gradle module with Gradle 7.2 and the Hagu plugin should not bring up any errors.
Actual behaviour
Executing a gradle build (in my case, ./gradlew assemble) causes the following message to appear:
A problem was found with the configuration of task ':library:buildHagu' (type 'HaguTask').
- In plugin 'com.karumi.hagu' type 'com.karumi.hagu.plugin.HaguTask' property 'generatedSourceOutput' is annotated with @PathSensitive but that is not allowed for 'OutputDirectory' properties.
Steps to reproduce
Include the following in the top-level settings.gradle file:
plugins {
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
}
Prepend this to the multiplatform module's build.gradle file:
plugins {
id 'org.jetbrains.kotlin.multiplatform'
id 'com.karumi.hagu'
}
Version of the library
0.1.2
Additional thoughts
I admit that I'm not entirely sure of what the right approach is here. Perhaps it makes sense to remove the PathSensitive annotation? Or maybe I need to fix something in my project configuration.
The text was updated successfully, but these errors were encountered:
Expected behaviour
Building a multiplatform gradle module with Gradle 7.2 and the Hagu plugin should not bring up any errors.
Actual behaviour
Executing a gradle build (in my case,
./gradlew assemble
) causes the following message to appear:Steps to reproduce
Include the following in the top-level settings.gradle file:
Include this in the top-level build.gradle file:
Prepend this to the multiplatform module's build.gradle file:
Version of the library
0.1.2
Additional thoughts
I admit that I'm not entirely sure of what the right approach is here. Perhaps it makes sense to remove the
PathSensitive
annotation? Or maybe I need to fix something in my project configuration.The text was updated successfully, but these errors were encountered: