diff --git a/README.md b/README.md index c8491fe..6dddb84 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ The ActionItemBadge Library is pushed to [Maven Central], so you just need to ad ```javascript dependencies { - compile 'com.mikepenz:actionitembadge:3.3.1@aar' + implementation 'com.mikepenz:actionitembadge:3.3.1@aar' //SUB-DEPENDENCIES //Android-Iconics - used to provide an easy API for icons - compile 'com.mikepenz:iconics-core:2.8.1@aar' + implementation 'com.mikepenz:iconics-core:{latestVersion}@aar' //appcompat - compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" + implementation "com.android.support:appcompat-v7:${supportLibVersion}" } ``` @@ -99,7 +99,7 @@ call invalidateOptionsMenu() afterwards. # License - Copyright 2016 Mike Penz + Copyright 2017 Mike Penz Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/app/build.gradle b/app/build.gradle index 99ea777..f7f8bcf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,7 +6,7 @@ android { defaultConfig { minSdkVersion 14 - targetSdkVersion 25 + targetSdkVersion 27 versionCode 331 versionName "3.3.1" } @@ -20,8 +20,6 @@ android { lintOptions { abortOnError false } - - enforceUniquePackageName false } dependencies { @@ -35,29 +33,31 @@ dependencies { // contains util classes to support various android versions, and clean up code // comes with the awesome "Holder"-Pattern // https://github.com/mikepenz/Materialize - compile 'com.mikepenz:materialize:1.0.0@aar' + compile 'com.mikepenz:materialize:1.1.1@aar' // used to fill the RecyclerView with the DrawerItems // and provides single and multi selection, expandable items // https://github.com/mikepenz/FastAdapter - compile 'com.mikepenz:fastadapter:2.1.5@aar' + compile 'com.mikepenz:fastadapter:2.6.3@aar' // used to provide out of the box icon font support. simplifies development, // and provides scalable icons. the core is very very light // https://github.com/mikepenz/Android-Iconics - compile 'com.mikepenz:iconics-core:2.8.1@aar' + compile 'com.mikepenz:iconics-core:2.9.3@aar' //used to generate the drawer on the left //https://github.com/mikepenz/MaterialDrawer - compile 'com.mikepenz:materialdrawer:5.8.1@aar' + compile('com.mikepenz:materialdrawer:5.9.5@aar') { + exclude group: "com.android.support" + } //used to generate the Open Source section //https://github.com/mikepenz/AboutLibraries - compile 'com.mikepenz:aboutlibraries:5.9.1@aar' + compile 'com.mikepenz:aboutlibraries:5.9.8@aar' //used to display the icons in the drawer and in the menu //https://github.com/mikepenz/Android-Iconics - compile 'com.mikepenz:google-material-typeface:2.2.0.1@aar' - compile 'com.mikepenz:fontawesome-typeface:4.4.0.1@aar' + compile 'com.mikepenz:google-material-typeface:3.0.1.1.original@aar' + compile 'com.mikepenz:fontawesome-typeface:4.7.0.0@aar' compile 'com.mikepenz:crossfader:1.5.0@aar' } diff --git a/build.gradle b/build.gradle index 74c17b9..74cc6b2 100644 --- a/build.gradle +++ b/build.gradle @@ -1,27 +1,25 @@ buildscript { repositories { + google() jcenter() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } dependencies { - classpath 'com.android.tools.build:gradle:2.3.0-beta1' - classpath 'com.novoda:bintray-release:0.3.4' + classpath 'com.android.tools.build:gradle:3.0.0' + classpath 'com.novoda:bintray-release:0.5.0' } } ext { - compileSdkVersion = 25 - buildToolsVersion = "25.0.2" - supportLibVersion = "25.1.0" + compileSdkVersion = 27 + buildToolsVersion = "27.0.0" + supportLibVersion = "27.0.0" } allprojects { repositories { + google() jcenter() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } -} - -task wrapper(type: Wrapper) { - gradleVersion = '3.2' } \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e0d8185..4f46c93 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Dec 27 09:05:09 CET 2016 +#Sat Oct 28 18:55:50 CEST 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip diff --git a/library/build.gradle b/library/build.gradle index e6225db..9df23c4 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -7,7 +7,7 @@ android { defaultConfig { minSdkVersion 14 - targetSdkVersion 25 + targetSdkVersion 27 versionCode 331 versionName "3.3.1" } @@ -25,10 +25,10 @@ dependencies { // used to provide out of the box icon font support. simplifies development, // and provides scalable icons. the core is very very light // https://github.com/mikepenz/Android-Iconics - compile 'com.mikepenz:iconics-core:2.8.1@aar' + implementation 'com.mikepenz:iconics-core:2.9.3@aar' - compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" + implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" // used to provide useful AS warnings - compile "com.android.support:support-annotations:${rootProject.ext.supportLibVersion}" + implementation "com.android.support:support-annotations:${rootProject.ext.supportLibVersion}" }