mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 15:37:54 -05:00
* Include Commit-Hash in manifests * Add commit method in BesuInfo * Use 8 character hash in EngineGetClientVersionV1 and revert calculateVersion back to original spec Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net> Co-authored-by: garyschulte <garyschulte@gmail.com>
39 lines
1.0 KiB
Groovy
39 lines
1.0 KiB
Groovy
|
|
dependencies {
|
|
api 'org.slf4j:slf4j-api'
|
|
|
|
implementation project(':besu')
|
|
implementation project(':crypto:algorithms')
|
|
implementation project(':datatypes')
|
|
implementation project(':ethereum:core')
|
|
implementation project(':ethereum:rlp')
|
|
implementation project(':ethereum:api')
|
|
implementation project(':plugin-api')
|
|
implementation 'com.google.auto.service:auto-service'
|
|
implementation 'info.picocli:picocli'
|
|
|
|
testImplementation 'org.assertj:assertj-core'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
|
|
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
|
|
}
|
|
|
|
task testPluginsJar(type: Jar) {
|
|
archiveFileName = 'testPlugins.jar'
|
|
manifest {
|
|
attributes(
|
|
'Specification-Title': archiveBaseName,
|
|
'Specification-Version': project.version,
|
|
'Implementation-Title': archiveBaseName,
|
|
'Implementation-Version': calculateVersion(),
|
|
'Commit-Hash': getGitCommitDetails(40).hash
|
|
)
|
|
}
|
|
from sourceSets.main.output
|
|
}
|
|
|
|
artifacts { testPluginsJar }
|
|
|
|
|
|
javadoc { enabled = false }
|