-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
24 lines (23 loc) · 878 Bytes
/
settings.gradle
File metadata and controls
24 lines (23 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
rootProject.name = 'Performance'
include 'gradle-plugin'
include 'kotlin-plugin'
include 'kotlin-native-plugin'
include 'shared'
include 'androidApp'
// attach source code for debug mode
gradle.beforeProject { eachProject ->
if (eachProject != eachProject.rootProject) {
eachProject.configurations.all {
resolutionStrategy.dependencySubstitution {
substitute module("com.luoqiaoyou.performance:kotlin-native-plugin") with project(":kotlin-native-plugin")
substitute module("com.luoqiaoyou.performance:kotlin-plugin") with project(":kotlin-plugin")
}
}
} else {
eachProject.configurations.all {
resolutionStrategy.dependencySubstitution {
substitute module("com.luoqiaoyou.performance:gradle-plugin") with project("gradle-plugin")
}
}
}
}