-
Notifications
You must be signed in to change notification settings - Fork 396
/
settings.gradle
64 lines (57 loc) · 1.27 KB
/
settings.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
pluginManagement {
repositories {
mavenCentral() {
content {
excludeGroup 'com.axelor'
}
}
maven {
url 'https://repository.axelor.com/nexus/repository/maven-public/'
}
}
plugins {
id 'com.axelor.app' version '7.2.1'
}
}
plugins {
id 'com.github.node-gradle.node' version '3.5.1' apply false
}
dependencyResolutionManagement {
repositories {
mavenCentral() {
content {
excludeGroup 'com.axelor'
}
}
maven {
url 'https://repository.axelor.com/nexus/repository/maven-public/'
}
// Declare the Node.js download repository
ivy {
name = "Node.js"
setUrl("https://nodejs.org/dist/")
patternLayout {
artifact("v[revision]/[artifact](-v[revision]-[classifier]).[ext]")
}
metadataSources {
artifact()
}
content {
includeModule("org.nodejs", "node")
}
}
}
}
//Include all modules
rootProject.name = "axelor-erp"
def modules = []
file("modules").traverse(type: groovy.io.FileType.DIRECTORIES, maxDepth: 1) { it ->
if (new File(it, "build.gradle").exists()) {
modules.add(it)
}
}
gradle.ext.appModules = modules
modules.each { dir ->
include "modules:$dir.name"
project(":modules:$dir.name").projectDir = dir
}