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

Variants from nested modules are not recognized #28

Closed
szymanskip opened this issue May 28, 2019 · 2 comments · Fixed by #29
Closed

Variants from nested modules are not recognized #28

szymanskip opened this issue May 28, 2019 · 2 comments · Fixed by #29

Comments

@szymanskip
Copy link

@szymanskip szymanskip commented May 28, 2019

I have the following project structure:

moduleA
|-build.gradle
directory
|-moduleB
|---build.gradle
|-moduleC
|---build.gradle

All the modules are included in settings.gradle.
Modules B and C are being "grouped" in a directory and they can be referenced from Gradle with :directory:moduleB and :directory:moduleC.
By the looks of it, those modules are being ignored when querying for tasks and building a list of variants.
Related code:

split := strings.Split(l, ":")
if len(split) > 1 {
module = split[0]
l = split[1]
}

I would love to help and fix that but is there a way to run the Go code locally on my project?

@fehersanyi-bitrise

This comment has been minimized.

Copy link

@fehersanyi-bitrise fehersanyi-bitrise commented May 28, 2019

Hy @szymanskip
you could use the bitrise CLI locally to debug it: https://app.bitrise.io/cli

@szymanskip

This comment has been minimized.

Copy link
Author

@szymanskip szymanskip commented May 28, 2019

Thanks! I will give it a go when I have some time. In the meantime, I will reconfigure my workflow to use Gradle tasks directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.