I migrated groovy to kotlin dsl.
After changed to kotlin dsl (build.gradle.kts
). Android-Studio do auto sync after any changes in build.gradle.kts
. Before in groovy
not auto synced. I always used 'sync now'(alt enter)
solutions in stackOverFlow are not fit in Artic-Fox I think. and I could'n find any setting options.
CodePudding user response:
I found the way.
quick setting
- double tap shift (shift shift) for searching
- write
reload
- click
Reload project after changes in the build scripts
step by step
- go
Settings
- go
Languages & Frameworks
>Kotlin
>Kotlin Scripting
- uncheck or check
Auto Reload
what you want- my case : unChecked
KotlinBuildScript
like below image
- my case : unChecked