-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
73 lines (58 loc) · 1.49 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
description = 'Application for simulating fuild flows'
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'gradle.plugin.org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.10.2'
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'checkstyle'
apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'
apply plugin: 'maven-publish'
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
sourceCompatibility = 1.8
checkstyle.configFile = file('checkstyle.xml')
jacoco.toolVersion = '0.8.5'
jacocoTestReport {
reports {
xml.enabled = true
}
}
group = 'de.ralfhergert'
version = '1.0.0'
repositories {
mavenCentral()
}
dependencies {
//compile 'alltiny:alltiny-math-vector:1.1.0'
compile 'javax.validation:validation-api:2.0.1.Final'
compile 'javax.xml.bind:jaxb-api:2.3.1'
compile 'org.slf4j:slf4j-api:1.7.+'
runtime 'org.glassfish:javax.el:3.0.0' // necessary for hibernate-validator.
runtime 'org.glassfish.jaxb:jaxb-runtime:2.3.1'
runtime 'org.hibernate.validator:hibernate-validator:6.0.8.Final'
runtime 'org.slf4j:slf4j-simple:1.7.+'
testCompile 'junit:junit:4.12'
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId 'flowbox'
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}