-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
99 lines (83 loc) · 3.45 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
buildscript {
ext.kotlin_version = '1.3.11'
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
}
}
plugins {
id 'io.gitlab.arturbosch.detekt' version '1.0.0.RC8'
}
detekt {
version = "1.0.0.RC8"
profile('main') {
input = "$projectDir"
config = './detekt.yml'
filters = '.*test.*,.*/resources/.*,.*/tmp/.*'
output = './library/reports/report.xml'
}
idea {
path = '/Applications/IntelliJ IDEA.app/Contents'
codeStyleScheme = "$projectDir/ApioCodeConvention.xml"
report = './library/reports'
mask = '*.kt,'
}
}
allprojects {
repositories {
mavenCentral()
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
minSdkVersion = 15
compileSdkVersion = 27
targetSdkVersion = compileSdkVersion
buildToolsVersion = '28.0.3'
versionCode = 1
versionName = '0.0.10'
publishedGroupId = 'com.liferay.mobile'
libraryName = 'apio-consumer-android'
libraryDescription = 'Apio Consumer for Android includes the library and a sample project'
bintrayRepo = 'liferay-mobile'
bintrayOrg = 'liferay'
siteUrl = 'https://github.com/liferay-mobile/apio-consumer-android'
gitUrl = 'https://github.com/liferay-mobile/apio-consumer-android'
developerId = 'nhpatt'
developerName = 'Javier Gamarra'
developerEmail = '[email protected]'
licenseName = 'GNU Lesser General Public License, version 2.1'
licenseUrl = 'http://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html'
allLicenses = ['LGPL-2.1']
}
def supportLibsVersion = '27.1.1'
ext.libraries = [appCompat : 'com.android.support:appcompat-v7:' + supportLibsVersion,
recyclerView : 'com.android.support:recyclerview-v7:' + supportLibsVersion,
cardView : 'com.android.support:cardview-v7:' + supportLibsVersion,
support_annotations: 'com.android.support:support-annotations:' + supportLibsVersion,
exifinterface : 'com.android.support:exifinterface:' + supportLibsVersion,
gson : 'com.google.code.gson:gson:2.8.2',
okhttp : 'com.squareup.okhttp3:okhttp:3.10.0',
anko_commons : 'org.jetbrains.anko:anko-commons:0.10.4',
picasso : 'com.squareup.picasso:picasso:2.71828',
circle_image_view : 'de.hdodenhof:circleimageview:2.2.0',
kotlin : 'org.jetbrains.kotlin:kotlin-stdlib:' + ext.kotlin_version,
coroutines_core : 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.0',
coroutines_android : 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0',
junit : 'junit:junit:4.12',
mockito : 'org.mockito:mockito-core:2.13.0',
espresso : 'com.android.support.test.espresso:espresso-core:3.0.1',
espresso_contrib : 'com.android.support.test.espresso:espresso-contrib:3.0.1',
espresso_idling : 'com.android.support.test.espresso.idling:idling-concurrent:3.0.1',
okhttp_idling : 'com.jakewharton.espresso:okhttp3-idling-resource:1.0.0',
mockwebserver : 'com.squareup.okhttp3:mockwebserver:3.9.1']