๐Ÿ“ฆ airbnb / epoxy

๐Ÿ“„ build.gradle ยท 45 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'

android {
  namespace 'com.airbnb.epoxy.kotlinsample'

  defaultConfig {
    applicationId "com.airbnb.epoxy.kotlinsample"
    compileSdk rootProject.COMPILE_SDK_VERSION
    minSdkVersion rootProject.MIN_SDK_VERSION
    targetSdkVersion rootProject.TARGET_SDK_VERSION
    versionCode 1
    versionName "1.0"
  }

  dataBinding {
    enabled = true
  }
  viewBinding {
    enabled = true
  }

}

kotlin {
  jvmToolchain(17)
}

dependencies {
  implementation rootProject.deps.androidRecyclerView
  implementation rootProject.deps.androidAppcompat
  implementation project(':epoxy-databinding')
  implementation project(':epoxy-adapter')
  implementation project(':epoxy-annotations')
  implementation project(':epoxy-viewbinder')

  kapt project(':epoxy-processor')
  kaptTest project(":epoxy-processor")

  testImplementation rootProject.deps.robolectric
  testImplementation rootProject.deps.junit
  testImplementation rootProject.deps.mockito
}