-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
87 lines (75 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
buildscript {
ext.kotlin_version = '1.8.20'
apply from: "dependencies.gradle"
ext.kotlinVersion = versions.kotlinVersion
ext.dokkaVersion = '0.10.0'
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:7.3.0"
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"
}
}
ext {
localMaven = "${project.rootDir}/maven/"
tripkitGroup = "com.skedgo.tripkit"
tripkitVersion = "2.2.1.5"
publishMavenUrl = "https://www.myget.org/F/skedgo/maven"
publishMavenUsername = "skedgo"
publishMavenToken = "9b1742e0-6370-45bc-b0b5-0348b01031c2"
}
allprojects {
apply from: "${rootDir}/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://repository.liferay.com/nexus/content/repositories/public/' }
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",
"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
}
}
}