application-services icon indicating copy to clipboard operation
application-services copied to clipboard

Copy over source sets during a dependency substitution builds

Open jonalmeida opened this issue 3 years ago • 0 comments

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

jonalmeida avatar Sep 15 '22 21:09 jonalmeida