简体   繁体   English

如何下载 org.gradle.kotlin.dsl 的源 jar 文件

[英]how to download source jar file for org.gradle.kotlin.dsl

Is there any way to download gradle-kotlin-dsl-6.6.1.jar source file by idea or manually with a link?有没有办法通过想法或手动通过链接下载 gradle-kotlin-dsl-6.6.1.jar 源文件? I wanted to read the source code of the functions in this dependency, I couldn't find the source code also.我想阅读此依赖项中函数的源代码,我也找不到源代码。

I reasoned that, since the plugin is working for me, the code must've been downloaded.我推断,由于该插件对我有用,因此必须已下载代码。 What I've found is that (in Android Studio under Linux), if I ctrl-click on a keyword in (anything, I think, but in this case) a build.kts file it takes me to the definition.我发现(在 Linux 下的 Android Studio 中),如果我在 build.kts 文件(我认为是任何东西,但在这种情况下)中按住 ctrl-click 一个关键字,它会将我带到定义。

Doing this, I can then hover my cursor on the tab name and it shows me where the file is.这样做,然后我可以在选项卡名称上 hover 我的 cursor 并显示文件在哪里。 Mine is way down under /.gradle, but the point is it does tell me where.我的在 /.gradle 之下,但关键是它确实告诉我在哪里。

So, while I haven't found the jar file itself, I'm thinking that each of the files found like this are part of it.所以,虽然我还没有找到 jar 文件本身,但我认为像这样找到的每个文件都是其中的一部分。 Does that help enough, or at least a bit?这是否有足够的帮助,或者至少有一点帮助?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM