Skip to content

Commit 591ed85

Browse files
committed
Merge branch 'dev' into 'master'
Release 3.0.0 See merge request zsmb/MaterialDrawerKt!70
2 parents 41b8a3e + 8afd8b1 commit 591ed85

File tree

6 files changed

+26
-24
lines changed

6 files changed

+26
-24
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ cache:
1313

1414
env:
1515
global:
16-
- ANDROID_API=28
16+
- ANDROID_API=29
1717
- EMULATOR_API=21
18-
- ANDROID_BUILD_TOOLS=28.0.3
18+
- ANDROID_BUILD_TOOLS=29.0.0
1919
- ADB_INSTALL_TIMEOUT=10 # minutes
2020

2121
android:
@@ -37,7 +37,7 @@ before_install:
3737
- mkdir "$ANDROID_HOME/licenses" || true
3838
- echo -e "\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
3939
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
40-
- yes | sdkmanager "platforms;android-28"
40+
- yes | sdkmanager "platforms;android-29"
4141
- chmod +x gradlew
4242

4343
notifications:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2019 Marton Braun
189+
Copyright 2020 Marton Braun
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,22 @@ You can find the sample app [in the Play Store](https://play.google.com/store/ap
2323

2424
# Setup
2525

26-
The library is hosted on jcenter. To use it, add the following to your module level `build.gradle` file's dependencies:
26+
The library is hosted on `mavenCentral()`. To use it, add the following to your module level `build.gradle` file's dependencies:
2727

2828
```gradle
29-
implementation 'co.zsmb:materialdrawer-kt:2.0.1'
29+
implementation 'co.zsmb:materialdrawer-kt:3.0.0'
3030
31-
//required support lib modules
32-
implementation "androidx.appcompat:appcompat:${versions.androidX}"
33-
implementation "androidx.recyclerview:recyclerview:${versions.androidX}"
34-
implementation "androidx.annotation:annotation:${versions.androidX}"
35-
implementation "com.google.android.material:material:${versions.androidX}"
31+
// required support lib modules
32+
implementation "androidx.appcompat:appcompat:${versions.appcompat}"
33+
implementation "androidx.recyclerview:recyclerview:${versions.recyclerView}"
34+
implementation "androidx.annotation:annotation:${versions.annotation}"
35+
implementation "com.google.android.material:material:${versions.material}"
3636
implementation "androidx.constraintlayout:constraintlayout:${versions.constraintLayout}"
3737
```
3838

39-
In general, you don't have to include the original library separately. (See the note in the FAQ.)
39+
In general, you don't have to include the original library separately. (See the note in the [FAQ](#faq).)
40+
41+
***If you want to use the pre-Kotlin version of the base library for some reason, you can use the last 2.x release of the library found [here](https://github.com/zsmb13/MaterialDrawerKt/releases/tag/2.0.1).***
4042

4143
***If you're not using AndroidX yet, you can use the last 1.x release of the library found [here](https://github.com/zsmb13/MaterialDrawerKt/releases/tag/1.3.7).***
4244

@@ -392,7 +394,7 @@ primaryItem("Hello") {
392394

393395
# License
394396

395-
Copyright 2019 Marton Braun
397+
Copyright 2020 Marton Braun
396398

397399
Licensed under the Apache License, Version 2.0 (the "License");
398400
you may not use this file except in compliance with the License.

app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ apply plugin: 'kotlin-android-extensions'
55
apply from: '../testformatter.gradle'
66

77
android {
8-
compileSdkVersion 28
9-
buildToolsVersion '28.0.3'
8+
compileSdkVersion 29
109
defaultConfig {
1110
applicationId "co.zsmb.materialdrawerktexample"
1211
minSdkVersion 14
13-
targetSdkVersion 28
12+
targetSdkVersion 29
1413
versionCode 4
1514
versionName "2.0.0"
1615
}
@@ -39,8 +38,9 @@ android {
3938
dependencies {
4039
implementation project(path: ':library')
4140

42-
implementation 'androidx.appcompat:appcompat:1.0.2'
43-
implementation 'androidx.recyclerview:recyclerview:1.0.0'
41+
implementation 'androidx.appcompat:appcompat:1.1.0'
42+
implementation 'androidx.recyclerview:recyclerview:1.1.0'
43+
implementation 'androidx.slidingpanelayout:slidingpanelayout:1.0.0'
4444
implementation 'androidx.annotation:annotation:1.1.0'
4545
implementation 'com.google.android.material:material:1.0.0'
4646

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
buildscript {
2-
ext.kotlin_version = '1.3.41'
2+
ext.kotlin_version = '1.3.61'
33
repositories {
44
jcenter()
55
google()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:3.4.2'
8+
classpath 'com.android.tools.build:gradle:3.5.3'
99
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1010

1111
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.21.0"

library/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-android'
44
ext {
55
PUBLISH_GROUP_ID = 'co.zsmb'
66
PUBLISH_ARTIFACT_ID = 'materialdrawer-kt'
7-
PUBLISH_VERSION = '3.0.0-rc01'
7+
PUBLISH_VERSION = '3.0.0'
88
}
99

1010
android {
@@ -28,9 +28,9 @@ android {
2828
dependencies {
2929
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
3030

31-
api 'com.mikepenz:materialdrawer:7.0.0-rc04'
32-
implementation 'androidx.appcompat:appcompat:1.0.2'
33-
implementation 'androidx.recyclerview:recyclerview:1.0.0'
31+
api 'com.mikepenz:materialdrawer:7.0.0'
32+
implementation 'androidx.appcompat:appcompat:1.1.0'
33+
implementation 'androidx.recyclerview:recyclerview:1.1.0'
3434
implementation 'androidx.annotation:annotation:1.1.0'
3535
implementation 'com.google.android.material:material:1.0.0'
3636
}

0 commit comments

Comments
 (0)