Skip to content

Commit bb49304

Browse files
committed
[Feature] Update dependencies and target SDK 34.
1 parent 1862ccc commit bb49304

7 files changed

Lines changed: 69 additions & 50 deletions

File tree

app/build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ apply plugin: 'com.android.application'
33
apply from: '../signing.gradle'
44

55
android {
6-
compileSdkVersion 30
7-
buildToolsVersion '30.0.3'
6+
namespace 'me.zhanghai.android.textselectionwebsearch'
7+
compileSdk 34
8+
buildToolsVersion = '34.0.0'
89
defaultConfig {
910
applicationId 'me.zhanghai.android.textselectionwebsearch'
10-
minSdkVersion 23
11-
targetSdkVersion 30
11+
minSdk 23
12+
targetSdk 34
1213
versionCode 5
1314
versionName '1.1.1'
1415
}
@@ -27,8 +28,8 @@ android {
2728

2829
dependencies {
2930
implementation fileTree(dir: 'libs', include: ['*.jar'])
30-
implementation 'androidx.annotation:annotation:1.2.0'
31-
implementation ('androidx.browser:browser:1.3.0') {
31+
implementation 'androidx.annotation:annotation:1.6.0'
32+
implementation ('androidx.browser:browser:1.6.0') {
3233
exclude group: 'androidx.collection'
3334
exclude group: 'androidx.lifecycle'
3435
exclude group: 'androidx.versionedparcelable'

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
<manifest
99
xmlns:android="http://schemas.android.com/apk/res/android"
10-
xmlns:tools="http://schemas.android.com/tools"
11-
package="me.zhanghai.android.textselectionwebsearch">
10+
xmlns:tools="http://schemas.android.com/tools">
1211

1312
<application
1413
android:allowBackup="true"
@@ -23,6 +22,7 @@
2322
<activity
2423
android:name=".WebSearchActivity"
2524
android:excludeFromRecents="true"
25+
android:exported="true"
2626
android:label="@string/web_search_title"
2727
android:noHistory="true"
2828
android:theme="@style/Theme.App.NoDisplay">

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
mavenCentral()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.2.2'
9+
classpath 'com.android.tools.build:gradle:8.1.1'
1010

1111
// NOTE: Do not place your application dependencies here; they belong
1212
// in the individual module build.gradle files

gradle/wrapper/gradle-wrapper.jar

4.39 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Nov 02 23:27:57 PST 2020
1+
#Thu Sep 23 01:27:10 PDT 2021
22
distributionBase=GRADLE_USER_HOME
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
34
distributionPath=wrapper/dists
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip

gradlew

Lines changed: 33 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 24 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)