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

Copy over source sets during a dependency substitution builds #5140

Closed
jonalmeida opened this issue Sep 15, 2022 · 1 comment
Closed

Copy over source sets during a dependency substitution builds #5140

jonalmeida opened this issue Sep 15, 2022 · 1 comment

Comments

@jonalmeida
Copy link
Collaborator

jonalmeida commented Sep 15, 2022

While debugging, there are times in an application when you desire to add break points in the dependency library to step through the change.

Unfortunately, it seems that when using dependency substitution, the library is replaced without the source sets, so when clicking through a method/class from Android Studio, you are only able to see the public APIs and therefore there is no option to add break points.

The workaround now is to go back to the manual way of consuming app services:

# in the appservices project
$ ./gradlew publishToMavenLocal
# in the android components project..
$ ./gradlew publishToMavenLocal
# in the fenix project (optional)
$ ./gradlew --refresh-dependencies

cc: @jeddai @jhugman @Amejia481

┆Issue is synchronized with this Jira Task

@tarikeshaq
Copy link
Member

Moved to Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1889980

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

No branches or pull requests

2 participants