Skip to content

Commit 645c34d

Browse files
author
roman_tcaregorodtcev
committed
Fixed review
1 parent 53b53ff commit 645c34d

4 files changed

Lines changed: 2 additions & 34 deletions

File tree

app/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
apply plugin: 'com.android.application'
2-
32
apply plugin: 'kotlin-android'
4-
53
apply plugin: 'kotlin-android-extensions'
64

75
android {

lib/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
3-
43
apply plugin: 'com.github.dcendents.android-maven'
5-
group = 'com.github.Omega-R'
64

75
android {
86
compileSdkVersion 28
@@ -29,7 +27,7 @@ android {
2927
dependencies {
3028
implementation fileTree(dir: 'libs', include: ['*.jar'])
3129
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
32-
implementation "com.android.support:appcompat-v7:$appcompat"
30+
implementation "androidx.appcompat:appcompat:$appcompat"
3331
implementation 'androidx.recyclerview:recyclerview:1.1.0-alpha04'
3432

3533
testImplementation 'junit:junit:4.12'

lib/src/main/java/omega_r/com/extensions/activity/ActivityExtensions.kt

Lines changed: 0 additions & 29 deletions
This file was deleted.

lib/src/main/java/omega_r/com/extensions/date/DateExtensions.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class DateExtensions {
1414
internal val HOURS_AND_MINS_FORMAT = SimpleDateFormat("HH:mm", Locale.getDefault())
1515
internal val DEFAULT_FORMAT = SimpleDateFormat("dd.MM.yyyy", Locale.getDefault())
1616

17+
@JvmStatic
1718
fun createDate(year: Int, month: Int, day: Int): Date {
1819
val calendar = Calendar.getInstance()
1920
calendar.set(year, month, day)

0 commit comments

Comments
 (0)