-
Notifications
You must be signed in to change notification settings - Fork 34
/
settings.gradle.kts
89 lines (77 loc) · 3.12 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
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
/*
* Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
pluginManagement {
repositories {
mavenCentral()
google()
gradlePluginPortal()
// For dev versions of KMP Gradle plugins
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev")
// For locally published plugin versions. Please enable it manually
// mavenLocal()
// For published version
maven("https://packages.jetbrains.team/maven/p/amper/amper")
// For idea api dependencies
maven("https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/releases")
maven("https://cache-redirector.jetbrains.com/packages.jetbrains.team/maven/p/ij/intellij-dependencies")
// Create local.properties.
rootDir.resolve("local.properties").also {
if (!it.exists()) {
it.writeText("scratch.username=\nscratch.password=")
}
}
}
}
plugins {
id("org.jetbrains.amper.settings.plugin").version("0.5.0")
id("com.gradle.develocity").version("3.17.6")
id("com.gradle.common-custom-user-data-gradle-plugin").version("2.0.2")
}
// important to have the correct root project name on CI for Gradle Enterprise, and for potentially other things
rootProject.name = "amper"
val isCI = System.getenv("TEAMCITY_VERSION") != null
develocity {
buildScan {
projectId = "amper"
server = "https://ge.jetbrains.com"
// background upload is bad for CI because the agent shutting down after the build could cut-off the upload
uploadInBackground = !isCI
obfuscation {
ipAddresses { listOf("0.0.0.0") }
hostname { "concealed" }
username { if (isCI) "TeamCity" else "concealed" }
}
}
}
include(":sources:amper-backend-test")
include(":sources:amper-cli-test")
include(":sources:amper-mobile-test")
include(":sources:amper-project-test")
include(":sources:amper-wrapper-test")
include(":sources:android-integration:android-sdk-detector")
include(":sources:android-integration:android-integration-core")
include(":sources:android-integration:dependency-resolution-android-extension")
include(":sources:android-integration:gradle-plugin")
include(":sources:android-integration:runner")
include(":sources:async-processes")
include(":sources:build-related:build-unpacked-dist")
include(":sources:build-related:build-zip-dist")
include(":sources:build-related:generate-build-properties")
include(":sources:build-related:tasks")
include(":sources:cli")
include(":sources:compose-resources")
include(":sources:concurrency")
include(":sources:core")
include(":sources:core-intellij")
include(":sources:dependency-resolution")
include(":sources:frontend-api")
include(":sources:frontend:dr")
include(":sources:frontend:plain:amper-psi")
include(":sources:frontend:plain:parserutil-stub")
include(":sources:frontend:plain:toml-psi")
include(":sources:frontend:plain:yaml-psi")
include(":sources:frontend:schema")
include(":sources:gradle-e2e-test")
include(":sources:gradle-integration")
include(":sources:test-base")