-
Notifications
You must be signed in to change notification settings - Fork 493
/
build.gradle
30 lines (27 loc) · 943 Bytes
/
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
import com.kizitonwose.calendar.buildsrc.Android
import com.kizitonwose.calendar.buildsrc.Config
import com.kizitonwose.calendar.buildsrc.Libs
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'com.vanniktech.maven.publish'
android {
compileSdk Android.compileSdk
namespace 'com.kizitonwose.calendar.core'
defaultConfig {
minSdkVersion Android.minSdkLibraryCore
targetSdkVersion Android.targetSdk
multiDexEnabled true // Needed for desugar because minSdk < 21
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility = Config.compatibleJavaVersion
targetCompatibility = Config.compatibleJavaVersion
}
kotlinOptions {
jvmTarget = Config.compatibleJavaVersion
}
}
dependencies {
coreLibraryDesugaring Libs.Core.deSugar
implementation Libs.Compose.runtime // Only needed for @Immutable annotation.
}