forked from Omico/androidx-compose-material3-pullrefresh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
49 lines (42 loc) · 1.38 KB
/
settings.gradle.kts
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
@file:Suppress("UnstableApiUsage")
rootProject.name = "androidx-compose-material3-pullrefresh"
pluginManagement {
val localProperties = java.util.Properties().apply {
val file = file("local.properties")
if (!file.exists()) file.createNewFile()
load(file.inputStream())
}
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
plugins {
id("com.android.application") version localProperties["project.android.gradle.plugin.version"] as String
id("com.android.library") version localProperties["project.android.gradle.plugin.version"] as String
id("com.gradle.enterprise") version localProperties["project.gradle.enterprise.plugin.version"] as String
kotlin("android") version localProperties["project.kotlin.version"] as String
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
plugins {
id("com.gradle.enterprise") apply false
}
if (gradle.parent == null) {
apply(plugin = "com.gradle.enterprise")
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlwaysIf(!gradle.startParameter.isOffline)
}
}
include("test-app")
}
include("library")