/OneWay

A unidirectional reactive functional architecture library for Android and the JVM.

Primary LanguageKotlin

One Way CircleCI BCH compliance

One Way is a minimalistic MVI library that helps developers build robust Android apps.

Gradle Download

One Way is available on JCenter. If your project does not include jcenter() already, add it to your project's build script.

allprojects {
  repositories {
    jcenter()
  }
}

Then, include the dependencies in your module's build script.

dependencies {
  implementation 'io.redgreen.oneway:core:(latest-version)'
  implementation 'io.redgreen.oneway:core-android:(latest-version)@aar'

  // Needed only if you want to use custom ViewGroup classes
  implementation 'io.redgreen.oneway:annotations:(latest-version)' 
  kapt 'io.redgreen.oneway:compiler:(latest-version)'

  // Recommended
  testImplementation 'io.redgreen.oneway:core-test:(latest-version)'
}

License

Copyright 2018 Ragunath Jawahar

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.