mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 04:08:01 -05:00
Feat: Sequencer fully remove uber jar distribution (#1118)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
This commit is contained in:
@@ -88,26 +88,17 @@ def excludeBesuProvidedDeps = {
|
||||
}
|
||||
|
||||
jar {
|
||||
dependsOn unTarBesu
|
||||
archiveBaseName = lineaSequencerProject.distributionIdentifier
|
||||
version = calculateVersion()
|
||||
|
||||
manifest {
|
||||
attributes(
|
||||
'Specification-Title': 'arithmetization',
|
||||
'Specification-Version': "${libs.versions.arithmetization.get()}",
|
||||
'Implementation-Title': 'arithmetization',
|
||||
'Implementation-Version': "${libs.versions.arithmetization.get()}"
|
||||
'Specification-Title': archiveBaseName.get(),
|
||||
'Specification-Version': calculateVersion(),
|
||||
'Implementation-Title': archiveBaseName.get(),
|
||||
'Implementation-Version': calculateVersion()
|
||||
)
|
||||
}
|
||||
|
||||
from {
|
||||
configurations.runtimeClasspath.filter(excludeBesuProvidedDeps).collect {
|
||||
it.isDirectory() ? it : zipTree(it)
|
||||
}
|
||||
}
|
||||
|
||||
duplicatesStrategy('exclude')
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -116,6 +107,7 @@ jar {
|
||||
* extracted in the Besu plugins dir.
|
||||
*/
|
||||
tasks.register('distPlugin', Zip) {
|
||||
dependsOn unTarBesu
|
||||
dependsOn installDist
|
||||
|
||||
archiveBaseName = lineaSequencerProject.distributionIdentifier
|
||||
|
||||
Reference in New Issue
Block a user