TGViewer
StartAndroid StartAndroid @startandroid · 9.42K subscribers
Post #2216 4.03K
Как  Gradle решает какие модули пересобирать

Gradle compiles Kotlin to bytecode, uses the ASM library to strip out all private internals leaving only the public skeleton, then SHA-256 hashes that skeleton. If the hash matches the cached value, dependent modules are skipped entirely — only a public signature change produces a different hash and triggers downstream recompilation.


#android #gradle  #kotlin

https://proandroiddev.com/how-gradle-decides-what-to-recompile-the-multi-module-secret-that-surprises-most-android-devs-353a5437488b
Medium How Gradle Decides What to Recompile — The Multi-Module Secret That Surprises Most Android Devs— ABI Hashing Explained You changed one private function. Gradle rebuilt only one module out of forty-seven. Here’s the exact mechanism behind that decision.
  • ❤ 5
More from @startandroid
  1. Sep 23, 2026Недавно обновился Android Wireless debugging. Android Debug Bridge (ADB) Wi-Fi 2.0 обещает…
  2. Sep 16, 2026Команда Gradle решила сравнить как два агента (Astra 6 vs Fable 5.1) пофиксят один баг Осн…
  3. Sep 15, 2026💡 Android × AI: исследуем как меняется разработка на Podlodka Android Crew Организаторы P…
  4. Sep 10, 2026Post #2226
  5. Aug 28, 2026Что нового в Jetpack Compose August '26 (2026.08.00) - Breaking Changes - Graphics: Mesh G…
  6. Aug 27, 2026Post #2224
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →