diff options
author | Kristóf Marussy <marussy@mit.bme.hu> | 2021-07-31 17:28:31 +0200 |
---|---|---|
committer | Kristóf Marussy <marussy@mit.bme.hu> | 2021-07-31 17:28:31 +0200 |
commit | af0ac22364d2621f580eef10df4172240ab382f2 (patch) | |
tree | a007565c63bede54ace1fa7f862a3a38e2e90729 /gradle/java-common.gradle | |
parent | Add JMH benchmarks for model-data (diff) | |
download | refinery-af0ac22364d2621f580eef10df4172240ab382f2.tar.gz refinery-af0ac22364d2621f580eef10df4172240ab382f2.tar.zst refinery-af0ac22364d2621f580eef10df4172240ab382f2.zip |
Refactor Gradle configs
Diffstat (limited to 'gradle/java-common.gradle')
-rw-r--r-- | gradle/java-common.gradle | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gradle/java-common.gradle b/gradle/java-common.gradle index caae7d78..8f37e475 100644 --- a/gradle/java-common.gradle +++ b/gradle/java-common.gradle | |||
@@ -3,20 +3,10 @@ repositories { | |||
3 | } | 3 | } |
4 | 4 | ||
5 | apply plugin: 'java' | 5 | apply plugin: 'java' |
6 | apply plugin: 'org.xtext.xtend' | ||
7 | 6 | ||
8 | sourceCompatibility = '11' | 7 | sourceCompatibility = '11' |
9 | targetCompatibility = '11' | 8 | targetCompatibility = '11' |
10 | 9 | ||
11 | sourceSets { | ||
12 | main { | ||
13 | xtendOutputDir = 'src/main/xtend-gen' | ||
14 | } | ||
15 | test { | ||
16 | xtendOutputDir = 'src/test/xtend-gen' | ||
17 | } | ||
18 | } | ||
19 | |||
20 | configurations.all { | 10 | configurations.all { |
21 | exclude group: 'asm' | 11 | exclude group: 'asm' |
22 | } | 12 | } |
@@ -27,21 +17,6 @@ jar { | |||
27 | } | 17 | } |
28 | } | 18 | } |
29 | 19 | ||
30 | test { | ||
31 | useJUnitPlatform { | ||
32 | excludeTags 'slow' | ||
33 | } | ||
34 | } | ||
35 | |||
36 | task slowTest(type: Test) { | ||
37 | useJUnitPlatform() | ||
38 | } | ||
39 | |||
40 | clean.doLast { | ||
41 | delete 'src/main/xtend-gen' | ||
42 | delete 'src/test/xtend-gen' | ||
43 | } | ||
44 | |||
45 | apply plugin: 'eclipse' | 20 | apply plugin: 'eclipse' |
46 | 21 | ||
47 | eclipse { | 22 | eclipse { |