-
Notifications
You must be signed in to change notification settings - Fork 70
/
build.gradle
56 lines (44 loc) · 1.41 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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
group = GROUP
version = VERSION_NAME
android {
compileSdkVersion Versions.compileSdkVersion
resourcePrefix 'magellan_'
defaultConfig {
minSdkVersion Versions.minSdkVersion
targetSdkVersion Versions.targetSdkVersion
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
setSourceCompatibility(JavaVersion.VERSION_17)
setTargetCompatibility(JavaVersion.VERSION_17)
}
buildTypes {
release {
minifyEnabled false
}
}
namespace 'com.wealthfront.magellan.legacy'
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
if (!name.contains("UnitTest")) {
kotlinOptions.freeCompilerArgs = ['-Xexplicit-api=strict', '-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi']
}
kotlinOptions.allWarningsAsErrors = true
kotlinOptions.jvmTarget = JavaVersion.VERSION_17
}
dependencies {
implementation project(':magellan-library')
implementation libs.appCompat
implementation libs.inject
implementation libs.coroutines
implementation libs.coroutinesAndroid
testImplementation project(':internal-test-support')
testImplementation libs.testCore
testImplementation libs.junit
testImplementation libs.truth
testImplementation libs.mockito
testImplementation libs.robolectric
}
apply from: rootProject.file('gradle/gradle-mvn-push.gradle')