MateusLB / Dagger2

Kotlin Dagger2 example project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Dagger 2 (Demo)

Build Status CircleCI codecov

Production code drive by Testing :)

Fully static, compile-time dependency injection framework for both Java and Android.

Configuration

build.gradle application module level
dependencies {
    ...
    implementation 'com.google.dagger:dagger:2.9'
    kapt 'com.google.dagger:dagger-compiler:2.9'
}

You can use libraries or tools.

  • RxJava2, RxAndroid2
  • Retrofit, OkHttp, OkHttp logging
  • Gson
  • Dagger 2
  • ButterKnife

Testing framework

  • Junit
  • Mockito
  • Jacoco (Test coverage)
  • Espresso (UI Testing from Google)

CI Tools

  • Circle CI
  • Travis CI

Run UI-Test (Espresso)

./gradlew connectAndroidTest

About

Kotlin Dagger2 example project


Languages

Language:Kotlin 98.5%Language:Ruby 1.5%