-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
98 lines (93 loc) · 3.3 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: "org.jlleitschuh.gradle.ktlint"
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-kapt'
apply plugin: 'deploygate'
apply plugin: 'com.google.firebase.crashlytics'
android {
compileSdkVersion 30
defaultConfig {
applicationId "com.imaginaryrhombus.proctimer"
minSdkVersion 19
versionCode 28
versionName '1.3.0'
targetSdkVersion 30
testInstrumentationRunner ".TimerTestRunner"
multiDexEnabled true
}
apply from: ".signing/release.gradle", to: android
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
buildFeatures {
dataBinding true
}
kotlinOptions {
allWarningsAsErrors = "$System.env.CI"
}
testOptions {
unitTests {
includeAndroidResources = true
}
unitTests.all {
maxHeapSize = '2g'
}
}
packagingOptions {
exclude 'META-INF/LICENSE.md'
exclude 'META-INF/NOTICE.md'
}
}
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType
ktlint {
version = "0.39.0"
debug = true
verbose = true
android = true
outputToConsole = true
reporters {
reporter(ReporterType.CHECKSTYLE)
}
ignoreFailures = false
filter {
exclude("**/generated/**")
include("**/kotlin/**")
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
implementation 'androidx.drawerlayout:drawerlayout:1.1.1'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.google.android.instantapps:instantapps:1.1.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.google.firebase:firebase-core:17.5.1'
implementation 'com.google.firebase:firebase-crash:16.2.1'
implementation 'com.google.firebase:firebase-config:19.2.0'
implementation 'com.google.firebase:firebase-crashlytics:17.2.2'
implementation 'com.google.firebase:firebase-iid:20.3.0'
implementation 'org.koin:koin-android:2.1.6'
implementation 'org.koin:koin-androidx-scope:2.1.6'
implementation 'org.koin:koin-androidx-viewmodel:2.1.6'
kapt 'androidx.lifecycle:lifecycle-common-java8:2.2.0'
testImplementation 'junit:junit:4.13'
testImplementation 'org.robolectric:robolectric:4.4'
testImplementation 'androidx.test:core:1.3.0'
testImplementation 'androidx.test.ext:junit:1.1.2'
testImplementation 'androidx.test:runner:1.3.0'
testImplementation 'androidx.test:rules:1.3.0'
testImplementation 'androidx.test.espresso:espresso-core:3.3.0'
testImplementation 'org.koin:koin-test:2.1.6'
testImplementation 'io.mockk:mockk:1.10.2'
}