-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
78 lines (62 loc) · 1.78 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
74
75
76
77
buildscript {
repositories {
jcenter()
}
}
plugins {
id 'io.franzbecker.gradle-lombok' version '1.8'
}
project.ext.unidevPlatformVersion = "3.2.8"
subprojects {
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'java'
apply plugin: 'idea'
group = 'com.unidev.polydata'
version = '3.0.1-SNAPSHOT'
sourceCompatibility = 11
targetCompatibility = 11
apply from: 'http://dev.local/gradle/uploadArchivesSftp.groovy'
apply from: 'http://dev.local/gradle/defaultRepositories.groovy'
apply from: 'http://dev.local/gradle/javadoc.groovy'
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
lombok {
version = '1.18.8'
sha256 = ""
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'org.slf4j:slf4j-simple:1.7.21'
compileOnly 'org.projectlombok:lombok:1.18.8'
annotationProcessor 'org.projectlombok:lombok:1.18.8'
testCompile 'org.mockito:mockito-all:1.10.19'
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'org.assertj:assertj-core:3.9.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
tasks.withType(JavaCompile) {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
test {
useJUnitPlatform()
}
}