Skip to content

Commit

Permalink
Merge pull request #2709 from mikepenz/develop
Browse files Browse the repository at this point in the history
dev -> main
  • Loading branch information
mikepenz authored Feb 7, 2021
2 parents df0ad52 + 984c2c3 commit 6e598aa
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 25 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MaterialDrawer [![Download](https://api.bintray.com/packages/mikepenz/maven/com.mikepenz%3Amaterialdrawer/images/download.svg) ](https://bintray.com/mikepenz/maven/com.mikepenz%3Amaterialdrawer/_latestVersion)
# MaterialDrawer

... the flexible, easy to use, all in one drawer library for your Android project.

Expand Down Expand Up @@ -49,7 +49,7 @@

## Latest releases 🛠

- Kotlin && New | [v8.3.2](https://github.com/mikepenz/MaterialDrawer/tree/v8.3.2)
- Kotlin && New | [v8.3.3](https://github.com/mikepenz/MaterialDrawer/tree/v8.3.3)
- Kotlin | [v7.0.0](https://github.com/mikepenz/MaterialDrawer/tree/v7.0.0) | (Builder approach like v6.x)
- Java && AndroidX | [v6.1.2](https://github.com/mikepenz/MaterialDrawer/tree/v6.1.2)
- Java && AppCompat | [v6.0.9](https://github.com/mikepenz/MaterialDrawer/tree/v6.0.9)
Expand Down
8 changes: 1 addition & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ dependencies {
implementation project(':materialdrawer-nav')

implementation "androidx.multidex:multidex:${versions.multiDex}"

implementation "com.google.android.material:material:${versions.material}"
implementation "androidx.appcompat:appcompat:${versions.appcompat}"
implementation "androidx.recyclerview:recyclerview:${versions.recyclerView}"
Expand All @@ -75,10 +76,6 @@ dependencies {
// used to showcase how to load images
implementation("io.coil-kt:coil:1.1.1")

// needed to fix glide androidX support
implementation "com.android.support:support-annotations:28.0.0"
annotationProcessor 'com.android.support:support-annotations:28.0.0'

// the sample uses more advanced functions of the fastadapter
// https://github.com/mikepenz/FastAdapter/
implementation "com.mikepenz:fastadapter-extensions-utils:${versions.fastadapter}"
Expand All @@ -104,9 +101,6 @@ dependencies {
implementation 'com.mikepenz:fontawesome-typeface:5.9.0.2-kotlin@aar'
implementation 'com.mikepenz:octicons-typeface:11.1.0.0-kotlin@aar'

// kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}"

// navigation
implementation "androidx.navigation:navigation-fragment-ktx:${versions.navigation}"
implementation "androidx.navigation:navigation-ui-ktx:${versions.navigation}"
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ buildscript {

ext {
release = [
versionName: "8.3.2",
versionCode: 8032
versionName: "8.3.3",
versionCode: 8033
]

setup = [
Expand All @@ -25,9 +25,9 @@ buildscript {
constraintLayout : '2.0.4',
cardview : '1.0.0',
kotlin : "1.4.30",
fastadapter : "5.3.2",
iconics : "5.2.5",
aboutLibs : "8.8.1",
fastadapter : "5.3.4",
iconics : "5.2.6",
aboutLibs : "8.8.2",
navigation : "2.3.3",
detekt : '1.15.0',
slidingpaneLayout : "1.1.0",
Expand Down
3 changes: 3 additions & 0 deletions gradle-release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ afterEvaluate { project ->
asNode().appendNode('description', POM_DESCRIPTION)
asNode().appendNode('url', POM_SCM_URL)
asNode().children().last() + pomConfig

// we want dependencies as compile, to ensure they are transitively resolved
asNode().dependencies.'*'.findAll() { it.scope.text() == 'runtime' }.each { it.scope*.value = 'compile' }
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions materialdrawer-iconics/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ android {
dependencies {
implementation project(':materialdrawer')

// kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"

// 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
Expand Down
5 changes: 1 addition & 4 deletions materialdrawer-nav/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,8 @@ android {
dependencies {
implementation project(':materialdrawer')

// kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"

// navigation
implementation "androidx.navigation:navigation-runtime:${versions.navigation}"
implementation "androidx.navigation:navigation-runtime-ktx:${versions.navigation}"
implementation "androidx.navigation:navigation-ui-ktx:${versions.navigation}"
}

Expand Down
10 changes: 6 additions & 4 deletions materialdrawer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ android {

dependencies {
implementation "androidx.core:core-ktx:${versions.core}"
implementation "androidx.drawerlayout:drawerlayout:${versions.drawerlayout}"

api "androidx.drawerlayout:drawerlayout:${versions.drawerlayout}"
api "androidx.recyclerview:recyclerview:${versions.recyclerView}"

implementation "androidx.appcompat:appcompat:${versions.appcompat}"
implementation "androidx.recyclerview:recyclerview:${versions.recyclerView}"
implementation "androidx.annotation:annotation:${versions.annotation}"

implementation "com.google.android.material:material:${versions.material}"

// add the constraintLayout used to create the items and headers
Expand All @@ -60,7 +62,7 @@ dependencies {
api "com.mikepenz:fastadapter-extensions-expandable:${versions.fastadapter}"

// kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}"
}

if (project.hasProperty('pushall') || project.hasProperty('library_only')) {
Expand Down

0 comments on commit 6e598aa

Please sign in to comment.