-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
75 lines (65 loc) · 2.75 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
buildscript {
ext.kotlin_version = '1.3.10'
ext.kotlinx_coroutines_version = '1.3.0-M1'
ext.anko_version = '0.10.8'
ext.support_libraries_version = '27.1.0'
ext.lifecycle_version = '1.1.1'
ext {
androidCompileSdkVersion = 27
androidBuildToolsVersion = '28.0.3'
androidMinSdkVersion = 19
androidTargetSdkVersion = 27
dep = [
/**
* Libraries (Android).
*/
libAndroidThings : 'com.google.android.things:androidthings:+',
libKotlinStdlib : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
libKotlinxCoroutinesCore : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_version",
libKotlinxCoroutinesAndroid: "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version",
libAnko : "org.jetbrains.anko:anko:$anko_version",
libAppcompatV7 : "com.android.support:appcompat-v7:$support_libraries_version",
libConstraintLayout : 'com.android.support.constraint:constraint-layout:1.0.2',
libSupportAnnotations : "com.android.support:support-annotations:$support_libraries_version",
libLifecycleCommon : "android.arch.lifecycle:common:$lifecycle_version",
libLifecycleCompiler : "android.arch.lifecycle:compiler:$lifecycle_version",
libLeakcanary : 'com.squareup.leakcanary:leakcanary-android:1.5.4',
libLeakcanaryNoop : 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4',
libVirtualJoystick : 'io.github.controlwear:virtualjoystick:1.9.0',
/**
* Libraries (Third Party).
*/
libEventBus : 'org.greenrobot:eventbus:3.1.1',
/**
* Modules.
*/
moduleAndroidFirmata : project('android-firmata'),
]
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:0.9.17'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
ext {
publicationConfig = [
bintrayRepo : 'android',
bintrayLicenses : ['MIT'],
bintrayGithubRepo: 'xujiaao/android-firmata'
]
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}