-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
45 lines (40 loc) · 1.29 KB
/
build.gradle.kts
File metadata and controls
45 lines (40 loc) · 1.29 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
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
buildscript {
repositories {
google()
mavenCentral()
maven(com.datadog.gradle.Dependencies.Repositories.Gradle)
mavenLocal()
}
dependencies {
classpath(libs.androidToolsPluginGradle)
classpath(libs.kotlinPluginGradle)
classpath(libs.dokkaPluginGradle)
// Uncomment to use the samples
// classpath(libs.datadogPluginGradle)
}
}
allprojects {
repositories {
google()
mavenCentral()
maven(com.datadog.gradle.Dependencies.Repositories.Jitpack)
maven("https://central.sonatype.com/repository/maven-snapshots/")
}
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
// Empty task defined by one of our CI pipeline which does not apply here.
tasks.register("checkGeneratedFiles") {
childProjects.forEach { (name, _) ->
if (name.startsWith("dd-sdk-android")) {
dependsOn(":$name:checkTransitiveDependenciesList")
dependsOn(":$name:checkCompilerMetadataChanges")
}
}
}