-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathbuild.gradle
36 lines (29 loc) · 917 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
plugins {
id 'java-library'
}
ext.moduleName = 'org.consensusj.jsonrpc.groovy'
tasks.withType(GroovyCompile).configureEach {
targetCompatibility = 11
}
dependencies {
api project(':consensusj-jsonrpc')
implementation "org.apache.groovy:groovy:${groovyVersion}"
testImplementation ("org.apache.groovy:groovy-json:${groovyVersion}") {
transitive = false
}
}
jar {
inputs.property("moduleName", moduleName)
manifest {
attributes 'Implementation-Title': 'ConsensusJ JSON-RPC Groovy Support',
'Automatic-Module-Name': moduleName,
'Implementation-Version': archiveVersion.get()
}
}
test {
testLogging.showStandardStreams = true
systemProperty 'java.util.logging.config.file', "${project.projectDir}/src/test/logging.properties"
beforeTest { descriptor ->
logger.lifecycle(' ' + descriptor.getName())
}
}