-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
60 lines (52 loc) · 1.52 KB
/
build.gradle
File metadata and controls
60 lines (52 loc) · 1.52 KB
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
buildscript {
ext {
androidProjectCommon = "${rootProject.projectDir}/android_project_common.gradle"
androidModuleCommon = "${rootProject.projectDir}/android_module_common.gradle"
}
apply from: "${androidProjectCommon}"
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
}
}
// Add plugin for 'spotless'
plugins {
id "com.diffplug.spotless" version "5.1.0"
}
allprojects {
repositories {
google()
jcenter()
}
}
clean {
delete rootProject.buildDir
}
spotless {
kotlin {
target "**/*.kt"
ktlint(versions.ktlint)
}
}
ext {
// For bintray upload
bintrayUploadEnabled = true
bintrayMaven = [
'projectRepo': 'android',
'projectUrl': 'https://github.com/yongce/BluetoothExplorer',
'projectScmConnection': 'https://github.com/yongce/BluetoothExplorer.git',
'projectScmDevConnection': 'ssh://git@github.com/yongce/BluetoothExplorer.git',
'projectInceptionYear': '2018',
'groupId': 'me.ycdev.android',
'version': '1.1.4',
'developerId': 'yongce',
'developerName': 'Yongce Tu',
'developerEmail': 'yongce.tu@gmail.com',
]
}