Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Support custom source and resource folders #14

Open
schildbach opened this issue Apr 26, 2019 · 1 comment
Open

Support custom source and resource folders #14

schildbach opened this issue Apr 26, 2019 · 1 comment

Comments

@schildbach
Copy link

schildbach commented Apr 26, 2019

I've got a custom configuration of source and resource folders:

android {
    …
    sourceSets {
        main {
            manifest.srcFile 'AndroidManifest.xml'
            java.srcDirs = ['src']
            res.srcDirs = ['res']
            assets.srcDirs = ['assets']
            jniLibs.srcDirs = ['libs']
        }
        test {
            java.srcDirs = ['test']
            resources.srcDirs = ['test']
        }
    }
    …
}

This isn't honored by gradle-android-eclipse. It seems to expect the standard src/main/java etc. hierarchy.

Workaround: Edit the .classpath manually after running gradle eclipse.

@greensopinion
Copy link
Owner

Feel free to issue a pull-request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants