Skip to content

Commit 8a982ab

Browse files
committed
AGP 8.1.0
1 parent 518df28 commit 8a982ab

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// root build.gradle
22
buildscript {
33
ext {
4-
agp_version = '8.0.2'
4+
agp_version = '8.1.0'
55
kotlin_version = '1.8.22'
66
material_version = '1.9.0'
77
appcompat_version = '1.6.1'
@@ -60,7 +60,7 @@ if(rootProject.file('token.properties').exists()) {
6060
allprojects {
6161

6262
/** Runtime JAR files in the classpath should have the same version. */
63-
configurations.all {
63+
configurations.configureEach {
6464
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
6565
def requested = details.requested
6666
if (requested.group == 'org.jetbrains.kotlin') {
@@ -73,14 +73,16 @@ allprojects {
7373
}
7474

7575
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+
}
7880
}
7981
}
8082
}
8183

8284
// rootProject > clean
83-
task clean(type: Delete) {
85+
tasks.register('clean', Delete) {
8486

8587
// delete build directories
8688
delete rootProject.buildDir

mobile/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ android {
6565
pseudoLocalesEnabled false
6666
testCoverageEnabled true
6767
shrinkResources false
68-
zipAlignEnabled true
6968
minifyEnabled false
7069
jniDebuggable true
7170
debuggable true
@@ -79,7 +78,6 @@ android {
7978
proguardFile "${project.rootDir}/proguard/mobile.pro"
8079
testCoverageEnabled false
8180
minifyEnabled true
82-
zipAlignEnabled true
8381
shrinkResources true
8482
pseudoLocalesEnabled false
8583
renderscriptDebuggable false

0 commit comments

Comments
 (0)