Zhuinden / simple-stack

[ACTIVE] Simple Stack, a backstack library / navigation framework for simpler navigation and state management (for fragments, views, or whatevers).
Apache License 2.0
1.36k stars 76 forks source link

sourceSets to include src/main/kotlin #187

Closed valeriyo closed 5 years ago

valeriyo commented 5 years ago

I thought those were not necessary (since command line build works fine) - but, at least with Android Studio 3.4.1 - it won't recognize src/main/kotlin as a source code directory, and features (like "Go To Declaration") simply don't work :(

Zhuinden commented 5 years ago

Hmm although the real fix would be for me to kill the src/main/kotlin stuff. Nobody really does that because it takes extra configuration. src/main/java is always a safer bet. 🤔

valeriyo commented 5 years ago

I'm sure this is something that's going to be fixed.. clearly, a problem on Android Studio's part.

Zhuinden commented 5 years ago

I moved things over to src/main/java anyway :smile:

valeriyo commented 5 years ago

A bit of over-reaction, I suppose. However, src/androidTest/kotlin doesn't seem to work.. it compiles, but the test runner craps out - can't find classes.