Skip to content

Commit 4b706e4

Browse files
committed
Upgrade build tools
1 parent 81f1206 commit 4b706e4

9 files changed

Lines changed: 73 additions & 45 deletions

File tree

app/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 30
4+
namespace "com.bytehamster.preferencesearch"
5+
compileSdk 34
56

67
defaultConfig {
78
applicationId "com.bytehamster.preferencesearch"
8-
minSdkVersion 14
9-
targetSdkVersion 30
9+
minSdk 14
10+
targetSdk 34
1011
versionCode 1
1112
versionName "1.0"
1213

app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.bytehamster.preferencesearch">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application
65
android:allowBackup="true"
@@ -10,6 +9,7 @@
109
android:supportsRtl="true">
1110
<activity android:name=".SimpleExample"
1211
android:theme="@style/AppTheme"
12+
android:exported="true"
1313
android:label="@string/app_name">
1414
<intent-filter>
1515
<action android:name="android.intent.action.MAIN"/>
@@ -18,6 +18,7 @@
1818
</activity>
1919
<activity android:name=".EnhancedExample"
2020
android:theme="@style/AppThemeDark"
21+
android:exported="true"
2122
android:label="@string/app_name_enhanced">
2223
<intent-filter>
2324
<action android:name="android.intent.action.MAIN"/>
@@ -26,6 +27,7 @@
2627
</activity>
2728
<activity android:name=".NoPreferencesExample"
2829
android:theme="@style/AppTheme"
30+
android:exported="true"
2931
android:label="@string/app_name_no_preferences">
3032
<intent-filter>
3133
<action android:name="android.intent.action.MAIN"/>
@@ -34,6 +36,7 @@
3436
</activity>
3537
<activity android:name=".SearchViewExample"
3638
android:theme="@style/AppTheme"
39+
android:exported="true"
3740
android:label="@string/app_name_search_view">
3841
<intent-filter>
3942
<action android:name="android.intent.action.MAIN"/>

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
buildscript {
22
repositories {
33
google()
4-
jcenter()
4+
mavenCentral()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:7.0.4'
7+
classpath 'com.android.tools.build:gradle:8.6.0'
88
}
99
}
1010

1111
allprojects {
1212
repositories {
1313
google()
14-
jcenter()
14+
mavenCentral()
1515
}
1616
}

gradle/wrapper/gradle-wrapper.jar

-15.6 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

gradlew

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

gradlew.bat

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

lib/build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ apply plugin: 'com.android.library'
22
apply plugin: 'maven-publish'
33

44
android {
5-
compileSdkVersion 30
5+
namespace "com.bytehamster.lib.preferencesearch"
6+
compileSdk 34
67

78
defaultConfig {
8-
minSdkVersion 14
9-
targetSdkVersion 30
9+
minSdk 14
10+
targetSdk 34
1011
vectorDrawables.useSupportLibrary = true
1112
}
1213

@@ -35,7 +36,7 @@ afterEvaluate {
3536
publications {
3637
// Creates a Maven publication called "release".
3738
release(MavenPublication) {
38-
from components.release
39+
from components.findByName('release')
3940
groupId = 'com.github.ByteHamster'
4041
artifactId = 'SearchPreference'
4142
version = 'v2.5.1'

lib/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="com.bytehamster.lib.preferencesearch">
3-
4-
</manifest>
2+
<manifest />

0 commit comments

Comments
 (0)