-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
47 lines (41 loc) · 1.26 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
buildscript {
apply from: 'dependencies.gradle'
repositories {
google()
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
jcenter()
}
dependencies {
classpath libraries.build.androidGradle
classpath libraries.build.kotlinGradle
}
}
allprojects {
repositories {
google()
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
jcenter()
maven { url "https://jitpack.io" }
}
}
subprojects {
afterEvaluate { project ->
if (project.hasProperty('android')) {
android {
compileSdkVersion versions.androidSdk.compile
defaultConfig {
minSdkVersion versions.androidSdk.min
targetSdkVersion versions.androidSdk.target
versionCode 1
versionName '1.0'
buildConfigField 'String', 'API_KEY', "\"${letterboxd_api_key}\""
buildConfigField 'String', 'API_SECRET', "\"${letterboxd_api_secret}\""
}
compileOptions {
targetCompatibility = versions.javaCompile
sourceCompatibility = versions.javaCompile
}
}
}
}
}