forked from hyperwallet/hyperwallet-android-ui-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
92 lines (76 loc) · 2.49 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
mavenLocal()
}
project.version = "1.0.0-beta13"
}
subprojects {
ext {
hyperwalletGroupId = 'com.hyperwallet.android.ui'
compileVersion = 30
minVersion = 21
targetVersion = 30
codeVersion = 1
hyperwalletCoreVersion = '1.0.0-beta12'
hyperwalletInsightVersion = '1.0.0-beta02'
//
androidMaterialVersion = '1.0.0'
appcompatVersion = '1.0.2'
constraintlayoutVersion = '1.1.3'
legacySupportV4Version = '1.0.0'
recycleViewVersion = '1.0.0'
lifecycleExtensionsVersion = '2.0.0'
pagingRuntimeVersion = '2.1.0'
//Testing
extJunitVerson = '1.1.1'
testRunnerVersion = '1.2.0'
testRulesVersion = '1.2.0'
espressoVersion = '3.2.0'
mockServerVersion = '3.11.0'
leakcanaryVersion = '1.6.3'
mockitoVersion = '2.27.0'
junitParamsVersion = '1.1.1'
robolectricVersion = '4.1'
coreTest = '1.3.0'
mockWebServerVersion = '3.11.0'
coreTest = '1.3.0'
//
jacocoVersion = "0.8.2"
fileFilter = ['**/BuildConfig.*']
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
task generateAggregatedJavadocs(type: Javadoc) {
options.links 'https://hyperwallet.github.io/hyperwallet-android-sdk/',
'http://docs.oracle.com/javase/7/docs/api/'
options.addStringOption 'Xdoclint:none', '-quiet'
def subs = rootProject.subprojects.findAll {sub -> sub.name != 'testutils'}
rootProject.gradle.projectsEvaluated {
rootProject.task("allJavadocs") {
description = 'Generate an aggregated javadoc for all projects'
group = "documentation"
dependsOn subs.javadocs
source subs.javadocs.source
destinationDir rootProject.file("$rootProject.buildDir/docs/javadoc")
classpath = rootProject.files(subs.javadocs.classpath)
}
}
}