forked from RevenueCat/purchases-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
library.gradle
49 lines (44 loc) · 1.45 KB
/
library.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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion compileVersion
buildToolsVersion "30.0.0"
defaultConfig {
minSdkVersion minVersion
targetSdkVersion compileVersion
versionCode 1
versionName "3.5.0-SNAPSHOT"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
main.java.srcDirs += 'src/main/java'
test.java.srcDirs += 'src/test/java'
}
buildTypes {
debug {
testCoverageEnabled true
}
}
testOptions {
unitTests.includeAndroidResources = true
unitTests.all {
maxHeapSize = "1024m"
}
}
}
dependencies {
testImplementation 'androidx.test:core:1.2.0'
testImplementation 'androidx.test:runner:1.2.0'
testImplementation 'androidx.test:rules:1.2.0'
testImplementation 'androidx.test.ext:junit:1.1.1'
testImplementation 'org.robolectric:robolectric:4.3'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.2.0'
testImplementation 'org.mockito:mockito-core:3.0.0'
testImplementation 'com.android.billingclient:billing:3.0.0'
testImplementation 'io.mockk:mockk:1.10.0'
testImplementation 'org.assertj:assertj-core:3.13.2'
}
apply plugin: 'com.vanniktech.maven.publish'