-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
46 lines (42 loc) · 1.01 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
buildscript {
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
dependencies {
classpath("com.handstandsam.kmp4free:kmp4free")
classpath(libs.android.gradle.plugin)
}
}
plugins {
alias(libs.plugins.dependency.guard)
}
allprojects {
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven { url = "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
}
}
dependencyGuard {
configuration("classpath") {
baselineMap = {
def str = it
if (str.startsWith("com.handstandsam.kmp4free:kmp4free")) {
null
} else {
str
}
}
}
}
// Allow Gradle Build Scans
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
uploadInBackground = false // With this enabled, we don't get the 2nd buildscan in Github Actions
}
}