Skip to content

Commit

Permalink
Merge branch 'release/v6.0.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Jul 22, 2018
2 parents cb3e30e + afe1bd3 commit 6d71e67
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ You can find some frequently asked questions and other resources in the [WIKI /
## 1. Provide the gradle dependency

```gradle
implementation("com.mikepenz:materialdrawer:6.0.8@aar") {
implementation("com.mikepenz:materialdrawer:6.0.9@aar") {
transitive = true
}
Expand Down
9 changes: 4 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@ dependencies {

// the sample uses more advanced functions of the fastadapter
// https://github.com/mikepenz/FastAdapter/
implementation 'com.mikepenz:fastadapter-commons:3.2.6@aar'
implementation 'com.mikepenz:fastadapter-commons:3.2.8'
// used to generate the Open Source section
// https://github.com/mikepenz/AboutLibraries
implementation('com.mikepenz:aboutlibraries:6.0.9@aar') {
transitive = true
}
implementation 'com.mikepenz:aboutlibraries:6.0.9'

//used to provide different itemAnimators for the RecyclerView
//https://github.com/mikepenz/ItemAnimators
implementation 'com.mikepenz:itemanimators:1.0.2@aar'
Expand All @@ -82,7 +81,7 @@ dependencies {

configurations.all {
resolutionStrategy.force "com.mikepenz:iconics-core:3.0.4"
resolutionStrategy.force "com.mikepenz:fastadapter:3.2.6"
resolutionStrategy.force "com.mikepenz:fastadapter:3.2.8"
resolutionStrategy.force "com.android.support:support-v4:${versions.supportLib}"
resolutionStrategy.force "com.android.support:appcompat-v7:${versions.supportLib}"
resolutionStrategy.force "com.android.support:cardview-v7:${versions.supportLib}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void bindView(ViewHolder viewHolder, List payloads) {


@Override
public AccountDividerDrawerItem withName(String name) {
public AccountDividerDrawerItem withName(CharSequence name) {
return null;
}

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
buildscript {
ext {
release = [
versionName: "6.0.8",
versionCode: 6080
versionName: "6.0.9",
versionCode: 6090
]

setup = [
Expand All @@ -23,7 +23,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
Expand Down
13 changes: 6 additions & 7 deletions gradle-release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ afterEvaluate { project ->
publish = true

repo = "maven"
name = POM_ARTIFACT_ID
name = GROUP + ":" + POM_ARTIFACT_ID //the name (= identifier) on bintray
desc = POM_DESCRIPTION

websiteUrl = POM_URL
Expand All @@ -76,14 +76,14 @@ afterEvaluate { project ->
released = new Date()

mavenCentralSync {
sync = false
user = getRepositoryUsername() //OSS user token
password = getRepositoryPassword() //OSS user password
sync = true
user = getRepositoryUsername()
password = getRepositoryPassword()
close = '1'
}
gpg {
sign = true //Determines whether to GPG sign the files. The default is false
passphrase = gpgpass //Optional. The passphrase for GPG signing'
sign = true
passphrase = gpgpass
}
}
}
Expand All @@ -93,7 +93,6 @@ afterEvaluate { project ->
dependencyNode.appendNode('groupId', group)
dependencyNode.appendNode('artifactId', name)
dependencyNode.appendNode('version', version)
//dependencyNode.appendNode('type', "aar")
dependencyNode.appendNode('scope', "compile")
}

Expand Down
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ dependencies {
// used to fill the RecyclerView with the DrawerItems
// and provides single and multi selection, expandable items
// https://github.com/mikepenz/FastAdapter
api 'com.mikepenz:fastadapter:3.2.6@aar'
api 'com.mikepenz:fastadapter-extensions-expandable:3.2.6@aar'
api 'com.mikepenz:fastadapter:3.2.8'
api 'com.mikepenz:fastadapter-extensions-expandable:3.2.8'
}

apply from: '../gradle-release.gradle'
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public MiniProfileDrawerItem(ProfileDrawerItem profile) {
}

@Override
public MiniProfileDrawerItem withName(String name) {
public MiniProfileDrawerItem withName(CharSequence name) {
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public ProfileDrawerItem withIcon(Uri uri) {
return this;
}

public ProfileDrawerItem withName(String name) {
public ProfileDrawerItem withName(CharSequence name) {
this.name = new StringHolder(name);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public ProfileSettingDrawerItem withIcon(Uri uri) {
return this;
}

public ProfileSettingDrawerItem withName(String name) {
public ProfileSettingDrawerItem withName(CharSequence name) {
this.name = new StringHolder(name);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Created by mikepenz on 03.02.15.
*/
public interface IProfile<T> extends IIdentifyable<T> {
T withName(String name);
T withName(CharSequence name);

StringHolder getName();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
* This class implements a hack to change the layout padding on bottom if the keyboard is shown
* to allow long lists with editTextViews
* Basic idea for this solution found here: http://stackoverflow.com/a/9108219/325479
* @deprecated Do not use this anymore, the MaterialDrawer uses the `fitsSystemWindows` now correctly so it should not be required. (it would only be required for cases with the fullscreen flag)
*/
@Deprecated
public class KeyboardUtil {
private View decorView;
private View contentView;
Expand Down

0 comments on commit 6d71e67

Please sign in to comment.