-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
61 lines (47 loc) · 1.64 KB
/
build.gradle
File metadata and controls
61 lines (47 loc) · 1.64 KB
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
plugins {
id 'com.github.hierynomus.license' version '0.13.1'
id 'maven-publish'
id 'net.nemerosa.versioning' version '2.4.0'
id 'com.jfrog.bintray' version '1.7.2'
id 'com.github.ben-manes.versions' version '0.13.0'
}
apply plugin: 'java'
apply from: 'gradle/publishing.gradle'
task wrapper(type: Wrapper) {
gradleVersion = '4.8'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}
apply plugin: 'java'
sourceCompatibility = 1.8
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
// vvecmath library
compile group: 'eu.mihosoft.vvecmath', name: 'vvecmath', version: '0.3.8'
compile group: 'eu.mihosoft.vvecmath', name: 'vvecmath', version: '0.3.8', classifier: 'sources'
// jcsg library
compile group: 'eu.mihosoft.vrl.jcsg', name: 'jcsg', version: '0.5.6'
compile group: 'eu.mihosoft.vrl.jcsg', name: 'jcsg', version: '0.5.6', classifier: 'sources'
compile group: 'eu.mihosoft.vrl.jcsg', name: 'jcsg', version: '0.5.6', classifier: 'javadoc'
}
license {
header = rootProject.file('config/HEADER')
strictCheck = true
ignoreFailures = true
mapping {
java = 'SLASHSTAR_STYLE'
groovy = 'SLASHSTAR_STYLE'
fxml = 'XML_STYLE'
}
ext.year = '2017'
ext.author = 'Michael Hoffer <info@michaelhoffer.de>'
exclude '**/*.svg'
exclude '**/eu/mihosoft/jcsg/ext/path/internal/*.java'
}