Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sorce code directory question #1

Closed
meshpaul opened this issue Jun 28, 2019 · 1 comment
Closed

sorce code directory question #1

meshpaul opened this issue Jun 28, 2019 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@meshpaul
Copy link

Hi should sorce code directory be kotlin/kt not java unless you plan to store java code?

@nuhkoca
Copy link
Owner

nuhkoca commented Jun 29, 2019

Hi @meshpaul ,

Thanks for the issue. In fact, custom sourceSet dir isn't supported by Android Studio as far as I know. However, there is a trick which might handle this in

build.gradle

sourceSets {
        getByName("main").java.srcDirs("src/main/kotlin")
    }

@nuhkoca nuhkoca closed this as completed Jul 22, 2019
@nuhkoca nuhkoca added the invalid This doesn't seem right label Jul 22, 2019
@nuhkoca nuhkoca self-assigned this Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants