Status Update
Comments
vs...@google.com <vs...@google.com> #2
Some of this discussion happened on chat, but from what I recall, at the end of gradle sync, the source roots were not set up at all. The library XML looks like:
<component name="libraryTable">
<library name="Gradle: androidx.compose.ui:ui-graphics:1.0.0-alpha02@aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/0d5cfe849f65b976240c0aea70c30802/jetified-ui-graphics-1.0.0-alpha02/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/0d5cfe849f65b976240c0aea70c30802/jetified-ui-graphics-1.0.0-alpha02/res" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/0d5cfe849f65b976240c0aea70c30802/jetified-ui-graphics-1.0.0-alpha02/AndroidManifest.xml" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
Bradley mentioned: "We recently deleted code that attempted to look for and attach local java docs and sources. If the locations aren't on the models provided by Gradle they will no longer be attached to the libraries." Unsure if this is a IDE side issue or a Gradle side issue.
so...@google.com <so...@google.com> #3
sources sync mechanism and instead relied on the fallback.
On Mon, 28 Sep 2020, 19:36 vsiva, <buganizer-system+vsiva@google.com> wrote:
sm...@google.com <sm...@google.com> #4
We don't set up the cached paths, I have a fix for this.
so...@google.com <so...@google.com> #5
We do not look for cached jar/aar
files separately, why should we look for souces?
[Deleted User] <[Deleted User]> #6
tc...@google.com <tc...@google.com> #7
au...@google.com <au...@google.com> #8
This is a really bad user experience. Could we do something about it? Can we revert whatever caused it in Alpha12->Alpha13?
sm...@google.com <sm...@google.com> #9
le...@google.com <le...@google.com> #10
Thanks!
sm...@google.com <sm...@google.com> #11
za...@gmail.com <za...@gmail.com> #12
fwiw I see this with all aars, not just ones from maven.google. Coil (the image loading library) is another one not working
br...@gmail.com <br...@gmail.com> #13
an...@gmail.com <an...@gmail.com> #14
Running :
compose_version = "1.0.0-alpha05"
kotlin_version = "1.4.10"
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0-alpha14'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
ma...@gmail.com <ma...@gmail.com> #15
gp...@gmail.com <gp...@gmail.com> #16
There is not working with canary 9 available for meerkat
lo...@gmail.com <lo...@gmail.com> #17
It's been almost 5 years...
Description
Studio Build: Android Studio 4.2 Canary 12 Version of Gradle Plugin: 4.2-alpha12 Version of Gradle: Gradle 6.6.1 Version of Java: JDK 11 OS: Linux
Steps to Reproduce:
Expected: Source is shown
Actual: Decompiled code is shown.
It seems that all the sources that come from maven.google.com do not they their sources downloaded. Sources for things from jcenter work just fine.