Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Commit

Permalink
Use jitpack to temporarily distribute binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
kittinunf committed Feb 1, 2016
1 parent 03d7152 commit f348d29
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ReactiveAndroid-UI/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

apply plugin: 'com.github.dcendents.android-maven'

group='com.github.kittinunf'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ class ViewEventTest {

assertThat(result, isEqualTo(true))
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ class ViewPropertyTest {
assertThat(result, isEqualTo(0f))
}

@Test
fun background() {

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ class Property<T>(private val init: T) : PropertyType<T> {

class MutableProperty<T>(private val init: T) : MutablePropertyType<T> {

override val observable: Observable<T>
get() = sink

override var value: T = init
get() = synchronized(this) { field }
set(value) {
Expand All @@ -87,9 +90,6 @@ class MutableProperty<T>(private val init: T) : MutablePropertyType<T> {
}
}

override val observable: Observable<T>
get() = sink

private val sink = BehaviorSubject.create(init)

private val subscriptions = CompositeSubscription()
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ buildscript {

classpath 'com.novoda:bintray-release:0.3.4'

classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down

0 comments on commit f348d29

Please sign in to comment.