-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.gradle
39 lines (32 loc) · 1.02 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
pluginManagement {
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core/" }
gradlePluginPortal()
}
plugins {
id "org.grails.grails-web" version "6.2.1"
id "org.grails.grails-gsp" version "6.2.1"
id "com.bertramlabs.asset-pipeline" version "4.3.0"
}
}
rootProject.name="omar-core"
[ 'lib', 'plugin', 'app' ].each { String projectType ->
File projectTypeDir = new File( rootDir, "${ projectType }s" )
if ( projectTypeDir.exists() ) {
projectTypeDir.eachDirMatch( { it.endsWith( projectType ) } ) { File subprojectDir ->
include subprojectDir.name
project( ":${ subprojectDir.name }" ).projectDir = subprojectDir
}
}
}
if ( System.getenv( 'O2_INLINE_BUILD' ) ) {
def modules = [
]
modules?.each { module ->
File moduleDir = "${rootProject.projectDir.parent}/${module}" as File
if ( moduleDir.exists() ) {
includeBuild moduleDir.absolutePath
}
}
}