Skip to content

Commit

Permalink
released version 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Aug 16, 2019
1 parent 044953c commit e921929
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Needs can be fully customized and showing with animations. <br>
And add a dependency code to your **module**'s `build.gradle` file.
```gradle
dependencies {
implementation "com.github.skydoves:needs:1.0.4"
implementation "com.github.skydoves:needs:1.0.5"
}
```

Expand Down
18 changes: 17 additions & 1 deletion app/src/main/java/com/skydoves/needsdemo/DarkNeedsFactory.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2019 skydoves
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.skydoves.needsdemo

import android.content.Context
Expand Down Expand Up @@ -63,4 +79,4 @@ class DarkNeedsFactory : Needs.Factory() {
addNeedsItem(NeedsItem(ContextCompat.getDrawable(context, R.drawable.ic_sms_white_24dp), "SMS", "(Optional)", "Send and view SMS messages."))
}
}
}
}
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ext.versions = [
minSdk : 16,
compileSdk : 29,
versionCode : 5,
versionName : '1.0.4',
versionCode : 6,
versionName : '1.0.5',

gradleBuildTool : '3.4.2',
spotlessGradle : '3.23.1',
Expand Down
2 changes: 1 addition & 1 deletion needs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ android {
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin"
implementation "androidx.appcompat:appcompat:$versions.androidxAppcompat"
implementation "androidx.recyclerview:recyclerview:$versions.recyclerView"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin"
implementation "com.github.skydoves:baserecyclerviewadapter:$versions.baseAdapter"
}

Expand Down
7 changes: 0 additions & 7 deletions spotless.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
apply plugin: "com.diffplug.gradle.spotless"
spotless {
java {
target "**/*.java"
trimTrailingWhitespace()
removeUnusedImports()
googleJavaFormat()
endWithNewline()
}
kotlin {
target "**/*.kt"
ktlint().userData(['indent_size': '2', 'continuation_indent_size': '2'])
Expand Down

0 comments on commit e921929

Please sign in to comment.