File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
// root build.gradle
2
2
buildscript {
3
3
ext {
4
- agp_version = ' 8.0.2 '
4
+ agp_version = ' 8.1.0 '
5
5
kotlin_version = ' 1.8.22'
6
6
material_version = ' 1.9.0'
7
7
appcompat_version = ' 1.6.1'
@@ -60,7 +60,7 @@ if(rootProject.file('token.properties').exists()) {
60
60
allprojects {
61
61
62
62
/* * Runtime JAR files in the classpath should have the same version. */
63
- configurations. all {
63
+ configurations. configureEach {
64
64
resolutionStrategy. eachDependency { DependencyResolveDetails details ->
65
65
def requested = details. requested
66
66
if (requested. group == ' org.jetbrains.kotlin' ) {
@@ -73,14 +73,16 @@ allprojects {
73
73
}
74
74
75
75
gradle. projectsEvaluated {
76
- tasks. withType(JavaCompile ) {
77
- options. compilerArgs << " -Xlint:unchecked" << " -Xlint:deprecation"
76
+ tasks. withType(JavaCompile ). tap {
77
+ configureEach {
78
+ options. compilerArgs << " -Xlint:unchecked" << " -Xlint:deprecation"
79
+ }
78
80
}
79
81
}
80
82
}
81
83
82
84
// rootProject > clean
83
- task clean ( type : Delete ) {
85
+ tasks . register( ' clean ' , Delete ) {
84
86
85
87
// delete build directories
86
88
delete rootProject. buildDir
Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ android {
65
65
pseudoLocalesEnabled false
66
66
testCoverageEnabled true
67
67
shrinkResources false
68
- zipAlignEnabled true
69
68
minifyEnabled false
70
69
jniDebuggable true
71
70
debuggable true
@@ -79,7 +78,6 @@ android {
79
78
proguardFile " ${ project.rootDir} /proguard/mobile.pro"
80
79
testCoverageEnabled false
81
80
minifyEnabled true
82
- zipAlignEnabled true
83
81
shrinkResources true
84
82
pseudoLocalesEnabled false
85
83
renderscriptDebuggable false
You can’t perform that action at this time.
0 commit comments