https://github.com/erikhuizinga/android-library-multiple-variants-sources-issue
https://github.com/erikhuizinga/android-library-multiple-variants-sources-issue
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/erikhuizinga/android-library-multiple-variants-sources-issue
- Owner: erikhuizinga
- Created: 2022-02-16T12:10:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-17T20:36:04.000Z (about 2 years ago)
- Last Synced: 2025-02-15T19:37:45.560Z (4 months ago)
- Language: Kotlin
- Homepage: https://issuetracker.google.com/issues/219764023
- Size: 120 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repo is an MWE for [this issue on the Google Issue Tracker](https://issuetracker.google.com/issues/219764023).
1. From the repository root, run `cd projectA && ./gradlew publishToMavenLocal`.
2. Open `./projectB/` in Android Studio (note: this is not the repo root, but a subdirectory).
3. Open LibB.kt (`src/main/java/com/example/lib/b/LibB.kt`).
4. Point cursor at `libA()` and 'Jump to Source' (usually middle mouse click or (on MacOS) ⌘ + click or ⌘ + B).
5. 🐛 Notice that the sources aren't there, you're looking at a decompiled .class file instead.