Skip to content

Commit 98c96de

Browse files
Merge pull request #26 from ShwetaChauhan18/fix/jdk_11_support
⬆️ Upgrading dependencies and JDK 11
2 parents 7a81700 + 14907e9 commit 98c96de

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The actual features are:
3535

3636
```
3737
dependencies {
38-
implementation 'com.github.simformsolutions:SSCustomBottomNavigation:3.0'
38+
implementation 'com.github.simformsolutions:SSCustomBottomNavigation:3.1'
3939
}
4040
```
4141

@@ -233,7 +233,7 @@ binding.bottomNavigation.apply {
233233
}
234234
```
235235

236-
### New Way: (3.0 version) If you use latest version then you need to change your implementation
236+
### New Way: (If you use latest version then you need to change your implementation) (>= 3.0 version)
237237

238238
```kotlin
239239

app/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111
minSdkVersion 21
1212
targetSdkVersion 30
1313
versionCode 2
14-
versionName "3.0"
14+
versionName "3.1"
1515
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1616
vectorDrawables.useSupportLibrary = true
1717
}
@@ -23,6 +23,10 @@ android {
2323
}
2424
}
2525

26+
kotlinOptions {
27+
jvmTarget = '11'
28+
}
29+
2630
dataBinding {
2731
enabled true
2832
}

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ buildscript {
44
ext.kotlin_version = '1.5.30'
55
repositories {
66
google()
7-
jcenter()
8-
7+
mavenCentral()
98
}
9+
1010
dependencies {
1111
classpath 'com.android.tools.build:gradle:7.0.2'
1212
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@@ -18,9 +18,9 @@ buildscript {
1818

1919
allprojects {
2020
repositories {
21+
mavenCentral()
2122
google()
22-
jcenter()
23-
23+
maven { url 'https://jitpack.io' }
2424
}
2525
}
2626

custombottomnavigation/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ android {
2020
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2121
}
2222
}
23+
24+
kotlinOptions {
25+
jvmTarget = '11'
26+
}
2327
}
2428

2529
dependencies {

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk11

0 commit comments

Comments
 (0)