-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
72 lines (59 loc) · 2.35 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.gradle_android_version = '3.0.0'
ext.kotlin_version = '1.1.51'
ext.bintray_version = '1.7.3'
ext.maven_gradle_plugin_version = '2.0'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_android_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$bintray_version"
classpath "com.github.dcendents:android-maven-gradle-plugin:$maven_gradle_plugin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
configure(allprojects) {
/* Android config and dependency versions */
ext {
androidMinSdkVersion = 15
androidTargetSdkVersion = 26
androidCompileSdkVersion = 26
androidBuildToolsVersion = '26.0.2'
androidSupportLibraryVersion = '27.0.1'
junitVersion = '4.12'
supportTestVersion = '1.0.1'
espressoVersion = '3.0.1'
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
bintrayRepo = 'Share-BottomSheetDialog'
bintrayName = POM_ARTIFACT_ID
publishedGroupId = POM_GROUP_ID
libraryName = 'sharebottomsheetdialog'
libraryPomName = 'com.jboxx.sharebottomsheetdialog:sharebottomsheetdialog'
libraryDescription = 'Share Bottom Sheet Dialog to help u customize parameters to URLs to identify the campaigns that refer traffic.'
siteUrl = 'https://github.com/jboxx/Share-BottomSheetDialog'
gitUrl = 'https://github.com/jboxx/Share-BottomSheetDialog.git'
libraryVersion = POM_VERSION
developerId = 'jboxx'
developerName = 'Rifqi Fardi Pradhana'
developerEmail = '[email protected]'
licenseName = 'MIT'
licenseUrl = 'https://raw.githubusercontent.com/jboxx/Share-BottomSheetDialog/master/LICENSE'
allLicenses = ["MIT"]
}