File tree Expand file tree Collapse file tree 2 files changed +24
-10
lines changed
Expand file tree Collapse file tree 2 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 1- allprojects {
1+ // Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
3+ buildscript {
24 repositories {
35 google()
46 mavenCentral()
57 }
6- }
78
8- rootProject. buildDir = " ../build"
9- subprojects {
10- project. buildDir = " ${ rootProject.buildDir} /${ project.name} "
9+ dependencies {
10+ // Updated Android Gradle Plugin to meet Flutter's minimum supported version.
11+ // Was: 'com.android.tools.build:gradle:8.1.0'
12+ classpath ' com.android.tools.build:gradle:8.1.1'
13+
14+ // NOTE: Do not place your application dependencies here; they belong
15+ // in the individual module build.gradle files
16+ }
1117}
12- subprojects {
13- project. evaluationDependsOn(" :app" )
18+
19+ allprojects {
20+ repositories {
21+ google()
22+ mavenCentral()
23+ }
1424}
1525
16- tasks. register(" clean" , Delete ) {
26+ // Custom clean task to ensure all build directories are deleted
27+ tasks. register(' clean' , Delete ) {
1728 delete rootProject. buildDir
18- }
29+ subprojects. each { delete it. buildDir }
30+ }
Original file line number Diff line number Diff line change 1+ # Fri Oct 17 00:00:00 UTC 2025
12distributionBase =GRADLE_USER_HOME
23distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.3-bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6+ # Use Gradle 8.3 which is compatible with Android Gradle Plugin 8.1.1
7+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.3-bin.zip
You can’t perform that action at this time.
0 commit comments