Skip to content

Commit

Permalink
* update build tools to 27,
Browse files Browse the repository at this point in the history
* update compile sdk to 27
* update target sdk to 27
* update supportLibs to 27
* update gradle to 4.1
* update butterknife to 8.8.1
  • Loading branch information
mikepenz committed Oct 28, 2017
1 parent 5eebede commit 167ff8f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 29 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -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}"
}
```

Expand Down Expand Up @@ -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.
Expand Down
20 changes: 10 additions & 10 deletions app/build.gradle
Expand Up @@ -6,7 +6,7 @@ android {

defaultConfig {
minSdkVersion 14
targetSdkVersion 25
targetSdkVersion 27
versionCode 331
versionName "3.3.1"
}
Expand All @@ -20,8 +20,6 @@ android {
lintOptions {
abortOnError false
}

enforceUniquePackageName false
}

dependencies {
Expand All @@ -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'
}
16 changes: 7 additions & 9 deletions 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'
}
4 changes: 2 additions & 2 deletions 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
8 changes: 4 additions & 4 deletions library/build.gradle
Expand Up @@ -7,7 +7,7 @@ android {

defaultConfig {
minSdkVersion 14
targetSdkVersion 25
targetSdkVersion 27
versionCode 331
versionName "3.3.1"
}
Expand All @@ -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}"
}

0 comments on commit 167ff8f

Please sign in to comment.