File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ android {
4444 defaultConfig {
4545 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4646 applicationId " com.example.example"
47- minSdkVersion 16
47+ minSdkVersion flutter . minSdkVersion
4848 targetSdkVersion 30
4949 versionCode flutterVersionCode. toInteger()
5050 versionName flutterVersionName
Original file line number Diff line number Diff line change @@ -16,6 +16,17 @@ allprojects {
1616 google()
1717 mavenCentral()
1818 }
19+ subprojects {
20+ afterEvaluate { project ->
21+ if (project. hasProperty(' android' )) {
22+ project. android {
23+ if (namespace == null ) {
24+ namespace project. group
25+ }
26+ }
27+ }
28+ }
29+ }
1930}
2031
2132rootProject. buildDir = ' ../build'
@@ -24,6 +35,6 @@ subprojects {
2435 project. evaluationDependsOn(' :app' )
2536}
2637
27- task clean ( type : Delete ) {
38+ tasks . register( " clean " , Delete ) {
2839 delete rootProject. buildDir
2940}
Original file line number Diff line number Diff line change 11# Sat Nov 02 12:59:26 GMT 2024
2- distributionBase =GRADLE_USER_HOME
32distributionPath =wrapper/dists
43distributionUrl =https\://services.gradle.org/distributions/gradle-8.9-bin.zip
54zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments