-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathbuild.gradle
60 lines (45 loc) · 1.6 KB
/
build.gradle
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion project.ext.sharedCompileSdkVersion
buildToolsVersion project.ext.sharedBuildToolsVersion
kotlinOptions {
jvmTarget = '1.8'
}
defaultConfig {
minSdkVersion project.ext.sharedMinSdkVersion
targetSdkVersion project.ext.sharedTargetSdkVersion
versionCode project.ext.appVersionCode
versionName project.ext.appVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
minifyEnabled false
multiDexEnabled true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlin_version}"
// internal dependencies
implementation project(':sample-data-access')
api project(':sample-entity')
// third party dependencies
api "androidx.appcompat:appcompat:${versions.androidx.appCompat}"
api "androidx.annotation:annotation:${versions.androidx.annotation}"
// Dagger for Dependency Injection
implementation "com.google.dagger:dagger:${versions.dagger}"
kapt "com.google.dagger:dagger-compiler:${versions.dagger}"
// unit test dependencies
testImplementation "junit:junit:${versions.junit}"
}