Skip to content

Commit

Permalink
Merge pull request #68 from ggrell/switch-to-viewmodels
Browse files Browse the repository at this point in the history
Removed my custom copy of ViewModel implementation
  • Loading branch information
ggrell authored Apr 19, 2020
2 parents e17d38a + ae8e8ca commit a2bab97
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 771 deletions.
15 changes: 8 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
]

ext.versions = [
'kotlin' : '1.3.61',
'kotlin' : '1.3+',
'kotlinCoroutines': '1.2.2',
'dokka' : '0.9.18',
'jacoco' : '0.8.5',
Expand Down Expand Up @@ -38,12 +38,13 @@ buildscript {
],

'support': [
'core' : "androidx.core:core:1.2.0",
'core' : "androidx.core:core-ktx:1.2.0",
'annotations': "androidx.annotation:annotation:1.1.0",
'fragment' : "androidx.fragment:fragment:1.2.4",
'fragmentktx': "androidx.fragment:fragment-ktx:1.2.4",
'fragment' : "androidx.fragment:fragment-ktx:1.2.4",
'appcompat' : "androidx.appcompat:appcompat:1.1.0",
'design' : "com.google.android.material:material:1.1.0"
'activity' : "androidx.activity:activity-ktx:1.1.0",
'design' : "com.google.android.material:material:1.1.0",
'viewModel' : 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0',
],

'rx1' : [
Expand All @@ -69,7 +70,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'
classpath 'com.android.tools.build:gradle:3.6.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$versions.dokka"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:$versions.dokka"
Expand All @@ -92,7 +93,7 @@ task clean(type: Delete) {
subprojects {
group = "com.gyurigrell"
def isRelease = Boolean.valueOf(project.hasProperty("release") ? project.property("release") as String : "false")
version = "0.3.3" + (isRelease ? "" : "-SNAPSHOT")
version = "0.4.0" + (isRelease ? "" : "-SNAPSHOT")

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions {
Expand Down
2 changes: 0 additions & 2 deletions rxreactor1-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ android {
dependencies {
implementation project(path: ':rxreactor1')
implementation deps.kotlin.stdlib.jdk
implementation deps.support.appcompat
implementation deps.support.fragment
implementation deps.rx1.android

testImplementation deps.junit
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit a2bab97

Please sign in to comment.