-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
57 lines (45 loc) · 1.54 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'
apply from: '../main_jcenter.settings.gradle'
android {
compileSdkVersion rootProject.ext.compileSdkVersion as Integer
buildToolsVersion rootProject.ext.buildToolsVersion as String
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion as Integer
targetSdkVersion rootProject.ext.compileSdkVersion as Integer
targetSdkVersion rootProject.ext.compileSdkVersion as Integer
versionCode libraryVersionCode
versionName libraryVersion
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
minifyEnabled false
debuggable true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled false
debuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
// tests
testImplementation testsDependencies.junit
testImplementation testsDependencies.runner
testImplementation(testsDependencies.espresso_core) {
exclude group: 'com.android.support', module: 'support-annotations'
}
// common
implementation supportDependencies.appCompat
implementation kotlinDependencies.jdk
}
repositories {
mavenCentral()
}