This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit e12bd00
1 parent ba474e3 commit e12bd00 Copy full SHA for e12bd00
File tree 3 files changed +17
-7
lines changed
3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -69,4 +69,14 @@ flutter {
69
69
source ' ../..'
70
70
}
71
71
72
- dependencies {}
72
+ ext. abiCodes = [" armeabi-v7a" : 1 , " arm64-v8a" : 2 , " x86_64" : 3 ]
73
+
74
+ import com.android.build.OutputFile
75
+ android. applicationVariants. all { variant ->
76
+ variant. outputs. each { output ->
77
+ def abiVersionCode = project. ext. abiCodes. get(output. getFilter(OutputFile . ABI ))
78
+ if (abiVersionCode != null ) {
79
+ output. versionCodeOverride = variant. versionCode * 10 + abiVersionCode
80
+ }
81
+ }
82
+ }
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.9.23 '
2
+ ext. kotlin_version = ' 1.8.22 '
3
3
repositories {
4
4
google()
5
5
mavenCentral()
6
6
}
7
7
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:8.3.1 '
9
+ classpath ' com.android.tools.build:gradle:7.4.2 '
10
10
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
11
}
12
12
}
@@ -18,14 +18,14 @@ allprojects {
18
18
}
19
19
}
20
20
21
- rootProject. buildDir = " ../build"
21
+ rootProject. buildDir = ' ../build'
22
22
subprojects {
23
23
project. buildDir = " ${ rootProject.buildDir} /${ project.name} "
24
24
}
25
25
subprojects {
26
- project. evaluationDependsOn(" :app" )
26
+ project. evaluationDependsOn(' :app' )
27
27
}
28
28
29
29
tasks. register(" clean" , Delete ) {
30
30
delete rootProject. buildDir
31
- }
31
+ }
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
zipStorePath =wrapper/dists
5
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -all.zip
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.1 -all.zip
You can’t perform that action at this time.
0 commit comments