Fixed
Status Update
Comments
ma...@google.com <ma...@google.com>
ag...@google.com <ag...@google.com>
ma...@google.com <ma...@google.com>
ma...@google.com <ma...@google.com> #2
Plugin declarations with Version Catalogs should be added on build.gradle of root project instead of settings.gradle
I tested on a new project and this should already be the case. I'm wondering if the custom build logic in that project "confuses" the template generator.
In any case will make sure to report this to AS team to make sure this is correct.
Thanks for reporting.
Description
DESCRIBE THE ISSUE IN DETAIL:https://developer.android.com/topic/performance/baselineprofiles/create-baselineprofile#create-new-profile
I tried to follow
STEPS TO REPRODUCE:https://github.com/ganadist/VersionCodeDemo
1.Clone
CONTEXT: Gradle Version Catalog like this on settings.gradle .
But, Gradle does not allow to use Version Catalog on
https://github.com/gradle/gradle/issues/24876#issuecomment-1519674615
Android Studio added several plugins with
settings.gradle
Plugin declarations with Version Catalogs should be added on
build.gradle
of root project instead ofsettings.gradle
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply
all required information.
Studio Build: Iguana Canary 9
Version of Gradle Plugin: 8.2.0-rc01
Version of Gradle: 8.4
Version of Java: OpenJDK 17
OS: Any