forked from GetStream/stream-chat-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
100 lines (89 loc) · 2.86 KB
/
Copy pathbuild.gradle
File metadata and controls
100 lines (89 loc) · 2.86 KB
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
100
import io.getstream.chat.android.Dependencies
import io.getstream.chat.android.command.release.plugin.ReleasePlugin
import io.getstream.chat.android.command.unittest.plugin.UnitTestsPlugin
apply plugin: "com.github.ben-manes.versions"
// apply plugin: 'io.github.gradle-nexus.publish-plugin'
apply plugin: 'binary-compatibility-validator'
apply plugin: 'org.jetbrains.dokka'
apply from: "${rootDir}/scripts/sample-app-versioner.gradle"
apply plugin: UnitTestsPlugin
apply plugin: ReleasePlugin
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
google()
mavenCentral()
maven {
url 'https://developer.huawei.com/repo/'
content {
includeGroup("com.huawei.agconnect")
}
}
}
dependencies {
classpath Dependencies.androidGradlePlugin
classpath Dependencies.kotlinGradlePlugin
classpath Dependencies.googleServicesPlugin
classpath Dependencies.androidJunit5GradlePlugin
classpath Dependencies.gitversionerPlugin
classpath Dependencies.firebaseCrashlyticsPlugin
classpath Dependencies.gradleVersionsPlugin
classpath Dependencies.navigationSafeArgsGradlePlugin
classpath Dependencies.gradleNexusPublishPlugin
classpath Dependencies.dokka
classpath Dependencies.kotlinBinaryValidator
classpath Dependencies.huaweiPlugin
classpath Dependencies.shot
classpath Dependencies.spotlessGradlePlugin
}
}
subprojects {
apply from: "${rootDir}/scripts/spotless.gradle"
}
allprojects {
repositories {
google()
mavenCentral()
maven {
url "https://jitpack.io"
content {
includeModule("com.github.chrisbanes", "PhotoView")
// https://github.com/stfalcon-studio/StfalconImageViewer/issues/69
includeModule("com.github.stfalcon-studio", "StfalconImageViewer")
}
}
}
}
unitTestDebugScript {
outputPath = "unit-tests-command.sh"
}
releaseScript {
changelogPath = "CHANGELOG.md"
}
task clean(type: Delete) {
delete rootProject.buildDir
}
dependencyUpdates {
rejectVersionIf {
Dependencies.isStable(it.currentVersion) && Dependencies.isNonStable(it.candidate.version)
}
}
//apiValidation {
// ignoredPackages += [
// 'com/getstream/sdk/chat/databinding',
// 'io/getstream/chat/android/ui/databinding',
// ]
//
// ignoredProjects += [
// 'stream-chat-android-docs',
// 'stream-chat-android-ui-components-sample',
// 'stream-chat-android-test',
// 'stream-chat-android-compose-sample',
// ]
//
// nonPublicMarkers += [
// 'io.getstream.chat.android.core.internal.InternalStreamChatApi',
// ]
//}
//
// apply from: "${rootDir}/scripts/publish-root.gradle"