-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
83 lines (71 loc) · 2.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
buildscript {
ext.kotlin_version = '1.8.20'
apply from: "tripkit-android/dependencies.gradle"
ext.kotlinVersion = versions.kotlinVersion
ext.dokkaVersion = '0.10.0'
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath libs.androidGradlePlugin
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
//classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:2.0.1"
}
}
apply from: "variables.gradle"
allprojects {
apply from: "${rootDir}/tripkit-android/dependencies.gradle"
// A workaround for https://code.google.com/p/android/issues/detail?id=72430
// and http://g.co/androidstudio/app-test-app-conflict.
configurations.all {
resolutionStrategy {
force libs.rxjava2
force libs.okHttp
force libs.mockWebServer
force libs.retrofit
force libs.retrofitAdapterRxJava
force libs.retrofitConverterGson
}
}
repositories {
google()
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
}
apply plugin: 'org.jetbrains.dokka'
dokka {
outputFormat = 'gfm' // This will be displayed properly by mkdocs, whereas "markdown" will not
outputDirectory = "$buildDir/javadoc"
subProjects = ["CommonCoreLegacy",
"TripKitAndroid",
"TripKitAndroidUI",
"TripKitAndroidUIModules/TripKitAndroidUIData",
"TripKitAndroidUIModules/TripKitAndroidUIDomain",
"TripKitData",
"TripKitDomain",
"TripKitDomainLegacy"]
// TODO - We can take advantage of the @sample tag and add module documentation
configuration {
moduleName = "tripkit-android"
includeNonPublic = false
skipDeprecated = true
reportUndocumented = false
platform = "JVM"
jdkVersion = 7
noStdlibLink = false
noJdkLink = false
// Do not create index pages for empty packages
skipEmptyPackages = true
// Don't document the internal DI
perPackageOption {
prefix = "com.skedgo.tripkit.ui.core.module"
suppress = true
}
}
}