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
The rest of the stuff was already part of the file (this is a sample project that was provided by vendor). When synchronizing, I got this error:
The 'java' plugin has been applied, but it is not compatible with the Android plugins.
When I remove the java plugin, I get another error:
Could not get unknown property 'classes' for task ':app:reflections' of type io.github.manosbatsis.gradle.plugin.reflections.ReflectionsMetadataEmbeddingTask.
How to proceed from here?
The text was updated successfully, but these errors were encountered:
I've never developed for android but i believe an android module cannot also be a java module. Assuming the plugin actually works with android classes, you will have to do the equivalent setup like bellow, only using *android" gradle tasks
// reflections plugin needs the compiled
// project classes, so either chain tasks
// with dependsOn as bellow or execute tasks explicitly
// when using the command line
reflections{
dependsOn classes
}
jar{
dependsOn reflections
}
I added the plugin into my build.gradle file as I saw it here. Here is the complete build.gradle file:
The rest of the stuff was already part of the file (this is a sample project that was provided by vendor). When synchronizing, I got this error:
The 'java' plugin has been applied, but it is not compatible with the Android plugins.
When I remove the java plugin, I get another error:
Could not get unknown property 'classes' for task ':app:reflections' of type io.github.manosbatsis.gradle.plugin.reflections.ReflectionsMetadataEmbeddingTask.
How to proceed from here?
The text was updated successfully, but these errors were encountered: