-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from Kyash/androidx
Migrated to AndroidX
- Loading branch information
Showing
13 changed files
with
224 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
repositories { | ||
jcenter() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
package dependencies | ||
|
||
@Suppress("unused") | ||
object Depends { | ||
object GradlePlugin { | ||
const val android = "com.android.tools.build:gradle:3.2.1" | ||
const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Kotlin.version}" | ||
const val ktlint = "gradle.plugin.org.jlleitschuh.gradle:ktlint-gradle:3.0.0" | ||
const val fabric = "io.fabric.tools:gradle:1.25.4" | ||
const val androidMaven = "com.github.dcendents:android-maven-gradle-plugin:2.0" | ||
} | ||
|
||
object Test { | ||
const val junit = "junit:junit:4.12" | ||
const val testRunner = "androidx.test:runner:1.1.0" | ||
const val mockitoKotlin = "com.nhaarman.mockitokotlin2:mockito-kotlin:2.0.0" | ||
const val robolectric = "org.robolectric:robolectric:3.5.1" | ||
|
||
object Espresso { | ||
const val core = "androidx.test.espresso:espresso-core:3.1.0-alpha4" | ||
const val intents = "androidx.test.espresso:espresso-intents:3.1.0-alpha4" | ||
} | ||
} | ||
|
||
object AndroidX { | ||
const val appCompat = "androidx.appcompat:appcompat:1.0.0" | ||
const val recyclerView = "androidx.recyclerview:recyclerview:1.0.0" | ||
const val cardView = "androidx.cardview:cardview:1.0.0" | ||
const val design = "com.google.android.material:material:1.1.0-alpha01" | ||
} | ||
|
||
object Kotlin { | ||
const val version = "1.3.11" | ||
const val stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$version" | ||
} | ||
|
||
object Stetho { | ||
const val version = "1.5.0" | ||
const val core = "com.facebook.stetho:stetho:$version" | ||
const val okhttp = "com.facebook.stetho:stetho-okhttp3:$version" | ||
} | ||
|
||
object Crashlytics { | ||
const val core = "com.crashlytics.sdk.android:crashlytics:2.8.0@aar" | ||
} | ||
|
||
object Retrofit { | ||
private const val version = "2.5.0" | ||
const val core = "com.squareup.retrofit2:retrofit:$version" | ||
const val converterMoshi = "com.squareup.retrofit2:converter-moshi:$version" | ||
const val adapterRxJava2 = "com.squareup.retrofit2:adapter-rxjava2:$version" | ||
} | ||
|
||
object Kotshi { | ||
private const val version = "1.0.6" | ||
const val api = "se.ansman.kotshi:api:$version" | ||
const val compiler = "se.ansman.kotshi:compiler:$version" | ||
} | ||
|
||
object Rx { | ||
const val RxJava = "io.reactivex.rxjava2:rxjava:2.2.4" | ||
const val RxAndroid = "io.reactivex.rxjava2:rxandroid:2.1.0" | ||
const val RxKotlin = "io.reactivex.rxjava2:rxkotlin:2.3.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package dependencies | ||
|
||
private object Versions { | ||
val androidCompileSdkVersion = 28 | ||
val androidTargetSdkVersion = 28 | ||
val androidMinSdkVersion = 19 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.