Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ferini/kotlin gradle dsl #811

Closed
wants to merge 20 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Convert :search build.gradle
ferinagy committed Dec 11, 2019
commit b3d8a3cadf05b05782c51aa5b88db7eff06be71c
34 changes: 18 additions & 16 deletions search/build.gradle → search/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -15,30 +15,32 @@
*
*/

apply plugin: 'com.android.dynamic-feature'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
plugins {
id("com.android.dynamic-feature")
id("kotlin-android")
id("kotlin-kapt")
}

apply from: '../shared_dependencies.gradle'
apply from: '../test_dependencies.gradle'
apply(from = "../shared_dependencies.gradle")
apply(from = "../test_dependencies.gradle")

android {
compileSdkVersion versions.compileSdk
compileSdkVersion(Versions.compileSdk)

defaultConfig {
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
minSdkVersion(Versions.minSdk)
targetSdkVersion(Versions.targetSdk)

javaCompileOptions {
annotationProcessorOptions {
arguments << ['dagger.gradle.incremental': 'true']
arguments["dagger.gradle.incremental"] = "true"
}
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
@@ -47,12 +49,12 @@ android {
}

dependencies {
implementation project(':app')
implementation project(':core')
implementation(project(":app"))
implementation(project(":core"))

implementation "com.github.bumptech.glide:recyclerview-integration:${versions.glide}"
implementation "org.jetbrains.kotlin:kotlin-reflect:${versions.kotlin}"
kapt "com.google.dagger:dagger-compiler:${versions.dagger}"
implementation("com.github.bumptech.glide:recyclerview-integration:${Versions.glide}")
implementation("org.jetbrains.kotlin:kotlin-reflect:${Versions.kotlin}")
kapt("com.google.dagger:dagger-compiler:${Versions.dagger}")

}