-
Notifications
You must be signed in to change notification settings - Fork 111
/
build.gradle
68 lines (57 loc) · 1.4 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
buildscript {
repositories {
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
google()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.2'
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.5'
}
}
apply plugin: 'com.android.application'
apply plugin: "com.dicedmelon.gradle.jacoco-android"
repositories {
mavenCentral()
google()
}
android {
compileSdkVersion 31
buildToolsVersion '31.0.0'
defaultConfig {
minSdkVersion 15
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 31
versionCode 1
versionName '1.0.0'
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
flavorDimensions "version"
productFlavors {
free {
dimension "version"
applicationId 'com.dicedmelon.example.android.free'
}
paid {
dimension "version"
applicationId 'com.dicedmelon.example.android'
}
}
buildTypes {
debug {
applicationIdSuffix '.debug'
versionNameSuffix '-debug'
testCoverageEnabled true
}
}
dataBinding {
enabled = true
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.0.0'
testImplementation 'org.assertj:assertj-core:1.7.1'
testImplementation 'junit:junit:4.13.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
}