-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (42 loc) · 1.46 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
project.ext.unidevPlatformVersion = "3.2.8"
project.ext.polydataDomainVersion = "2.2.4-SNAPSHOT"
project.ext.polydataStorageVersion = "2.2.4-SNAPSHOT"
project.ext.lombokVersion = "1.18.4"
subprojects {
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'idea'
group = 'com.unidev.polydata'
version = '2.5.0-SNAPSHOT'
apply from: 'http://dev.local/gradle/uploadArchivesG5.groovy'
apply from: 'http://dev.local/gradle/defaultRepositories.groovy'
apply from: 'http://dev.local/gradle/javadoc.groovy'
dependencies {
compileOnly("org.projectlombok:lombok:${project.lombokVersion}")
testCompileOnly("org.projectlombok:lombok:${project.lombokVersion}")
annotationProcessor("org.projectlombok:lombok:${project.lombokVersion}")
testAnnotationProcessor("org.projectlombok:lombok:${project.lombokVersion}")
// test dependencies
testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'org.mockito:mockito-all:1.10.19'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
tasks.withType(JavaCompile) {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
}