blob: 9353b46f8bd24edcd654fce9306c327a26a16b55 (
plain) (
blame)
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
|
apply from: "${rootDir}/gradle/java-common.gradle"
dependencies {
compile platform("org.eclipse.xtext:xtext-dev-bom:${xtextVersion}")
}
sourceSets {
main {
java.srcDirs += ['src/main/xtext-gen']
resources.srcDirs += ['src/main/xtext-gen']
}
test {
java.srcDirs += ['src/test/xtext-gen']
resources.srcDirs += ['src/test/xtext-gen']
}
}
clean.doLast {
delete 'src/main/xtext-gen'
delete 'src/test/xtext-gen'
}
sonarqube.properties {
properties['sonar.exlusions'] += [
'src/main/xtext-gen/**',
'src/test/xtext-gen/**',
]
}
|