Skip to content

Commit 178eca2

Browse files
pbe-axelorAmit Mendapara
authored and
Amit Mendapara
committed
Include axelor-front as a subproject
Signed-off-by: Pierre Belloy <[email protected]>
1 parent 80122f9 commit 178eca2

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ apply plugin: "idea"
1010

1111
apply from: "version.gradle"
1212

13-
subprojects {
13+
configure(subprojects - project(':axelor-front')) {
1414
apply from: "${rootDir}/gradle/libs.gradle"
1515
apply from: "${rootDir}/gradle/common.gradle"
1616
apply from: "${rootDir}/gradle/jacoco.gradle"

gradle/javadoc.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ def projectsToSkipJavadocs = ext.projectsToSkipJavadocs = [
22
'axelor-gradle',
33
'axelor-tomcat',
44
'axelor-tools',
5-
'axelor-web'
5+
'axelor-web',
6+
'axelor-front'
67
]
78

89
def projectsIncludeInJavadocs = subprojects.findAll {

gradle/style.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spotless {
4343
// Sub projects
4444
/////
4545

46-
subprojects { p ->
46+
configure(subprojects - project(':axelor-front')) { p ->
4747

4848
apply plugin: com.diffplug.gradle.spotless.SpotlessPlugin
4949

@@ -83,7 +83,8 @@ subprojects { p ->
8383
// formatCode task
8484
/////
8585

86-
allprojects {
86+
configure([rootProject] + (subprojects - project(':axelor-front'))) {
87+
8788
tasks.register('formatCode') {
8889
description "Add license and format code."
8990
group "Axelor"

settings.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ include "axelor-gradle"
55
include "axelor-test"
66
include "axelor-core"
77
include "axelor-web"
8+
include "axelor-front"
89

910
if (JavaVersion.current() != JavaVersion.VERSION_11) {
1011
throw new GradleException("This build requires JDK-11.")

0 commit comments

Comments
 (0)