-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (36 loc) · 948 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
40
41
42
43
44
45
plugins {
id 'java'
id "org.beryx.jar" version "2.0.0-rc-4"
id "com.github.hierynomus.license" version "0.16.1"
}
repositories {
mavenCentral()
}
group = 'org.beryx.jar.example'
dependencies {
implementation 'org.beryx:streamplify:1.1.1'
testImplementation platform("org.junit:junit-bom:5.8.1")
testImplementation "org.junit.jupiter:junit-jupiter-api"
testImplementation "org.junit.jupiter:junit-jupiter-params"
testImplementation "org.junit.jupiter:junit-jupiter-engine"
}
moduleConfig {
version = project.version
}
compileJava {
options.release = (findProperty('javaCompatibility') ?: 11) as int
}
jar {
manifest {
attributes 'Implementation-Title': archivesBaseName,
'Implementation-Version': archiveVersion
}
}
test {
useJUnitPlatform()
}
license {
header rootProject.file("license-header.txt")
skipExistingHeaders true
ignoreFailures false
}