Skip to content

Instantly share code, notes, and snippets.

@pysoftware
Created December 16, 2019 16:42
Show Gist options
  • Save pysoftware/c91d2e1e3cb9635fa44a93c3c3dbf009 to your computer and use it in GitHub Desktop.
Save pysoftware/c91d2e1e3cb9635fa44a93c3c3dbf009 to your computer and use it in GitHub Desktop.
app:flipOnceEnabled="true"
android:foreground="?android:attr/selectableItemBackground"
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
implementation 'androidx.core:core-ktx:1.2.0-alpha02'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// Lifecycle
implementation "androidx.lifecycle:lifecycle-extensions:2.0.0"
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.0.0"
// Room
implementation "android.arch.persistence.room:runtime:1.1.1"
kapt "android.arch.persistence.room:compiler:1.1.1"
// Tests
testImplementation 'junit:junit:4.13-beta-3'
androidTestImplementation 'androidx.test:runner:1.3.0-alpha02'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha02'
//Rx
implementation 'com.squareup.retrofit2:retrofit:2.6.0'
implementation 'com.squareup.retrofit2:converter-gson:2.6.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'io.reactivex.rxjava2:rxjava:2.2.6'
// Retrofit2
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.0'
// Navigation
implementation 'androidx.navigation:navigation-fragment-ktx:2.1.0-beta02'
implementation 'androidx.navigation:navigation-ui-ktx:2.1.0-beta02'
// Gson
implementation 'com.google.code.gson:gson:2.8.5'
// Kotlin coroutines
implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1'
// Threetenabp
implementation 'com.jakewharton.threetenabp:threetenabp:1.2.1'
// Glide
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
// Gropie
implementation 'com.xwray:groupie:2.3.0'
implementation 'com.xwray:groupie-kotlin-android-extensions:2.3.0'
//OkHttp
implementation("com.squareup.okhttp3:logging-interceptor:4.0.0")
implementation "com.squareup.okhttp3:okhttp:4.0.1"
//Cicerone
implementation 'ru.terrakok.cicerone:cicerone:5.0.0'
//Moxy
implementation "com.arello-mobile:moxy:1.5.6"
kapt "com.arello-mobile:moxy-compiler:1.5.6"
implementation "com.arello-mobile:moxy-android:1.5.6"
implementation "com.arello-mobile:moxy-app-compat:1.5.6"
//RecyclerView
implementation 'androidx.recyclerview:recyclerview:1.0.0'
// Paging
implementation "android.arch.paging:runtime:1.0.1"
// Material
implementation 'androidx.recyclerview:recyclerview:1.1.0-beta01'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.1.0-alpha08'
// Swipe menu
implementation 'com.github.AItsuki:SwipeMenuRecyclerView:1.1.3'
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
maven { url "https://jitpack.io" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment