Created
October 15, 2017 02:11
-
-
Save ar-android/3d702408d6a01ade8b4add6fa87f3126 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-android-extensions' | |
apply plugin: 'kotlin-kapt' | |
kotlin { | |
experimental { | |
coroutines "enable" | |
} | |
} | |
android { | |
compileSdkVersion 26 | |
buildToolsVersion "26.0.2" | |
defaultConfig { | |
applicationId "com.ahmadrosid.jadwalsholat" | |
minSdkVersion 15 | |
targetSdkVersion 26 | |
versionCode 1 | |
versionName "1.0" | |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
api fileTree(dir: 'libs', include: ['*.jar']) | |
// Kotlin | |
api "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" | |
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_version" | |
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version" | |
// Android | |
api "com.android.support:appcompat-v7:$android_support_version" | |
api "com.android.support:support-v4:$android_support_version" | |
api "com.android.support:design:$android_support_version" | |
api "com.android.support:recyclerview-v7:$android_support_version" | |
api "com.android.support:cardview-v7:$android_support_version" | |
api "com.android.support.constraint:constraint-layout:$constraint_layout_version" | |
// LifeCycle | |
api "android.arch.lifecycle:runtime:$android_arch_version" | |
api "android.arch.lifecycle:extensions:$android_arch_version" | |
annotationProcessor "android.arch.lifecycle:compiler:$android_arch_version" | |
// Retrofit | |
api "com.squareup.retrofit2:retrofit:$retrofit_version" | |
api "com.squareup.retrofit2:converter-moshi:$retrofit_version" | |
api "com.squareup.okhttp3:logging-interceptor:$okhttp_version" | |
// Test | |
testApi "junit:junit:$junit_version" | |
androidTestApi("com.android.support.test.espresso:espresso-core:$espresso_version", { | |
exclude group: 'com.android.support', module: 'support-annotations' | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment