Skip to content

Commit 26aaea1

Browse files
Upgraded AGP and removed redundant exception throws on constructor signatures.
1 parent db289a9 commit 26aaea1

8 files changed

Lines changed: 16 additions & 15 deletions

File tree

BottomSheetMenu/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ plugins {
33
}
44

55
android {
6-
compileSdk 32
6+
compileSdk 33
77

88
defaultConfig {
99
minSdk 21
10-
targetSdk 32
10+
targetSdk 33
1111

1212
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
1313
consumerProguardFiles "consumer-rules.pro"
@@ -23,12 +23,13 @@ android {
2323
sourceCompatibility JavaVersion.VERSION_1_8
2424
targetCompatibility JavaVersion.VERSION_1_8
2525
}
26+
namespace 'com.buggysofts.bottomsheetmenu'
2627
}
2728

2829
dependencies {
2930

3031
implementation 'androidx.appcompat:appcompat:1.5.1'
31-
implementation 'com.google.android.material:material:1.6.1'
32+
implementation 'com.google.android.material:material:1.7.0'
3233
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
3334

3435
testImplementation 'junit:junit:4.13.2'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="com.buggysofts.bottomsheetmenu">
2+
<manifest>
33

44
</manifest>

BottomSheetMenu/src/main/java/com/buggysofts/bottomsheetmenu/BottomSheetMenu.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public BottomSheetMenu(@NonNull Context context,
113113
*/
114114
public BottomSheetMenu(@NonNull Context context,
115115
@NonNull Menu menu,
116-
@NonNull MenuItemClickListener listener) throws Exception {
116+
@NonNull MenuItemClickListener listener) {
117117
this(
118118
context,
119119
menu,
@@ -195,7 +195,7 @@ public BottomSheetMenu(@NonNull Context context,
195195
@Nullable @ColorInt Integer textColor,
196196
@Nullable @ColorInt Integer menuItemIconTint,
197197
@Nullable @ColorInt Integer expandIconTint,
198-
@NonNull MenuItemClickListener listener) throws Exception {
198+
@NonNull MenuItemClickListener listener) {
199199
this.context = context;
200200
this.mainMenu = menu;
201201
this.headerViewSelector = headerViewSelector;

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Finally, add this dependency to your app/module level build.gradle file
3434
3535
dependencies {
3636
...
37-
implementation 'com.github.buggysofts-com:BottomSheetMenu:v1.0.6'
37+
implementation 'com.github.buggysofts-com:BottomSheetMenu:v1.0.7'
3838
}
3939
```
4040
And you are done importing the library.

app/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ plugins {
33
}
44

55
android {
6-
compileSdk 32
6+
compileSdk 33
77

88
defaultConfig {
99
applicationId "com.buggysofts.bottomsheetmenuimpl"
1010
minSdk 21
11-
targetSdk 32
11+
targetSdk 33
1212
versionCode 4
1313
versionName "1.0.6"
1414

@@ -25,12 +25,13 @@ android {
2525
sourceCompatibility JavaVersion.VERSION_1_8
2626
targetCompatibility JavaVersion.VERSION_1_8
2727
}
28+
namespace 'com.buggysofts.bottomsheetmenuimpl'
2829
}
2930

3031
dependencies {
3132

3233
implementation 'androidx.appcompat:appcompat:1.5.1'
33-
implementation 'com.google.android.material:material:1.6.1'
34+
implementation 'com.google.android.material:material:1.7.0'
3435
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
3536

3637
implementation project(':BottomSheetMenu')

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
4-
package="com.buggysofts.bottomsheetmenuimpl">
3+
xmlns:tools="http://schemas.android.com/tools">
54

65
<application
76
android:allowBackup="true"

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
id 'com.android.application' version '7.2.1' apply false
4-
id 'com.android.library' version '7.2.1' apply false
3+
id 'com.android.application' version '7.3.0' apply false
4+
id 'com.android.library' version '7.3.0' apply false
55
}
66

77
task clean(type: Delete) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Fri Aug 05 19:24:08 BDT 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)