-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (29 loc) · 900 Bytes
/
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
plugins {
id 'application'
id 'java'
}
group 'com.rana'
version '1.0-SNAPSHOT'
compileJava {
sourceCompatibility = 11
targetCompatibility = 11
}
repositories {
mavenCentral()
}
application {
mainClassName = 'cmd.TreasureHuntCmd'
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
compile 'info.picocli:picocli:4.1.4'
annotationProcessor 'info.picocli:picocli-codegen:4.1.4'
compile 'org.javatuples:javatuples:1.2'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
task ChangeFileNotReadableFilePermission(type:Exec) {
commandLine 'chmod', '000', 'build/resources/test/validation/defaultinputfilevalidation/file-not-readable-test.txt'
}
ChangeFileNotReadableFilePermission.shouldRunAfter processTestResources
test.dependsOn ChangeFileNotReadableFilePermission