• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1plugins {
2    id 'com.android.library'
3    id 'kotlin-android'
4    id 'kotlin-kapt'
5    id 'dagger.hilt.android.plugin'
6}
7
8android {
9    compileSdkVersion 30
10    buildToolsVersion "30.0.2"
11
12    defaultConfig {
13        minSdkVersion 15
14        targetSdkVersion 30
15        versionCode 1
16        versionName "1.0"
17
18        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
19    }
20    compileOptions {
21        sourceCompatibility JavaVersion.VERSION_1_8
22        targetCompatibility JavaVersion.VERSION_1_8
23    }
24    kotlinOptions {
25        jvmTarget = '1.8'
26    }
27    lintOptions {
28        checkReleaseBuilds = false
29    }
30}
31
32dependencies {
33    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
34
35    implementation 'com.google.dagger:hilt-android:LOCAL-SNAPSHOT'
36    kapt 'com.google.dagger:hilt-compiler:LOCAL-SNAPSHOT'
37
38    testImplementation 'androidx.test.ext:junit:1.1.2'
39    testImplementation 'com.google.truth:truth:1.0.1'
40
41    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
42    androidTestImplementation 'androidx.test:runner:1.3.0'
43    androidTestImplementation 'com.google.truth:truth:1.0.1'
44}
45
46hilt {
47    enableAggregatingTask = true
48}