-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
44 lines (36 loc) · 828 Bytes
/
build.gradle
File metadata and controls
44 lines (36 loc) · 828 Bytes
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
plugins {
id 'java'
}
compileJava {
options.encoding = 'UTF-8'
sourceCompatibility = '11'
targetCompatibility = '11'
}
jar {
manifest {
attributes 'Main-Class': 'net.jbock.cp.CopyFile'
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'io.github.jbock-java:jbock:5.19'
annotationProcessor 'io.github.jbock-java:jbock-compiler:5.19'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.register('copyDependencies', Copy) {
from configurations.compileClasspath
into "${rootDir}/dependencies"
}
tasks.build.dependsOn(copyDependencies)
clean.doFirst {
delete "${rootDir}/dependencies"
}
test {
useJUnitPlatform()
testLogging {
events('failed')
}
}