generated from bmc08gt/kotlin-android-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
android-library.gradle
34 lines (28 loc) · 892 Bytes
/
android-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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
apply plugin: "com.github.ben-manes.versions"
android {
compileSdkVersion androidbuild.compileSdkVersion
defaultConfig {
minSdkVersion androidbuild.minSdkVersion
targetSdkVersion androidbuild.targetSdkVersion
versionCode appInfo.versionCode
versionName appInfo.versionName
testInstrumentationRunner androidbuild.testInstrumentationRunner
}
androidExtensions {
experimental = true
}
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += "-Xjvm-default=compatibility"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}