-
Notifications
You must be signed in to change notification settings - Fork 38
/
build.gradle.kts
45 lines (39 loc) · 1.24 KB
/
build.gradle.kts
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
plugins {
id("com.android.library")
kotlin("android")
id("com.vanniktech.maven.publish")
}
android {
compileSdk = 31
defaultConfig {
minSdk = 21
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
getByName("release") {
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
testOptions.unitTests.isIncludeAndroidResources = true
buildFeatures.buildConfig = false
}
dependencies {
implementation(Dependencies.android.appcompat)
implementation(Dependencies.android.startup)
api(project(":retroauth"))
testImplementation(Dependencies.test.junit)
testImplementation(Dependencies.test.mockito)
testImplementation(Dependencies.android.test.core)
testImplementation(Dependencies.android.test.junit)
testImplementation(Dependencies.android.test.robolectric)
testImplementation(Dependencies.android.test.runner)
testImplementation(Dependencies.android.test.rules)
testImplementation(Dependencies.test.assertj)
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}