forked from vav87/homework2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (43 loc) · 1.17 KB
/
build.gradle
File metadata and controls
51 lines (43 loc) · 1.17 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
plugins {
id "java"
id "idea"
}
ext {
fingBugsVersion = "3.0.2"
commonsLangVersion = "3.11"
logbackVersion = "1.2.3"
junitVersion = "5.7.0"
mockitoVersion = "3.5.11"
}
sourceCompatibility = 1.11
targetCompatibility = 1.11
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
repositories {
mavenCentral()
}
dependencies {
compileOnly "com.google.code.findbugs:jsr305:$fingBugsVersion"
implementation "org.apache.commons:commons-lang3:$commonsLangVersion"
implementation "ch.qos.logback:logback-classic:$logbackVersion"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
testImplementation "org.mockito:mockito-junit-jupiter:$mockitoVersion"
}
test {
useJUnitPlatform()
}
jar {
archiveFileName = "${project.name}.jar"
manifest {
attributes "Main-Class": "ru.digitalhabbits.homework2.Homework"
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}