forked from axelor/open-platform-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (41 loc) · 991 Bytes
/
build.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
plugins {
id 'com.axelor.app'
}
axelor {
title = 'Axelor :: DEMO'
}
allprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'com.axelor'
version = '6.1.0'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
configurations {
// Remove Junit4, only keep Junit5 provided by AOP
testImplementation.exclude group: 'junit', module: 'junit'
testImplementation.exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
afterEvaluate {
test {
useJUnitPlatform()
beforeTest { descriptor ->
logger.lifecycle('Running: ' + descriptor)
}
}
}
}
dependencies {
// add module dependencies
implementation project(':modules:demo-contact')
implementation project(':modules:demo-sale')
implementation project(':modules:demo-project')
implementation project(':modules:demo-custom')
}
war {
archiveFileName = 'open-platform-demo.war'
}
apply from: 'gradle/style.gradle'