Skip to content

Commit 2f649b1

Browse files
committed
Resolve all AGP 8 warnings/problems
1 parent 82bf408 commit 2f649b1

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

android/rustls-platform-verifier/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ android {
3131
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3232
}
3333

34+
namespace "org.rustls.platformverifier"
35+
3436
buildTypes {
3537
release {
3638
minifyEnabled false
@@ -67,6 +69,9 @@ android {
6769
}
6870
}
6971
}
72+
buildFeatures {
73+
buildConfig true
74+
}
7075
}
7176

7277
configurations {
@@ -75,7 +80,7 @@ configurations {
7580

7681
task ktlint(type: JavaExec, group: "verification") {
7782
description = "Check Kotlin code style."
78-
main = "com.pinterest.ktlint.Main"
83+
mainClass = "com.pinterest.ktlint.Main"
7984
classpath = configurations.ktlint
8085
args "src/**/*.kt"
8186
}
@@ -84,7 +89,7 @@ check.dependsOn ktlint
8489

8590
task ktlintFormat(type: JavaExec, group: "formatting") {
8691
description = "Fix Kotlin code style deviations."
87-
main = "com.pinterest.ktlint.Main"
92+
mainClass = "com.pinterest.ktlint.Main"
8893
classpath = configurations.ktlint
8994
args "-F", "src/**/*.kt"
9095
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="org.rustls.platformverifier"/>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"/>

0 commit comments

Comments
 (0)