-
Notifications
You must be signed in to change notification settings - Fork 368
/
build.gradle
51 lines (44 loc) · 1.28 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
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'org.jlleitschuh.gradle.ktlint'
}
android {
compileSdkVersion rootProject.buildVersions.compileSdkVersion
defaultConfig {
minSdkVersion rootProject.buildVersions.minSdkVersion
}
buildTypes {
original {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled false
}
unity {
minifyEnabled false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
namespace 'com.onesignal.testhelpers'
kotlinOptions.freeCompilerArgs += ['-module-name', namespace]
}
dependencies {
implementation(project(':OneSignal:core'))
implementation("junit:junit:$junitVersion")
implementation("io.kotest:kotest-runner-junit4:$kotestVersion")
implementation("org.robolectric:robolectric:4.8.1")
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
implementation("io.mockk:mockk:1.13.2")
implementation("androidx.test:core-ktx:1.5.0")
}
ktlint {
version = "$ktlintVersion"
}