mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-08 21:38:15 -05:00
Rename artifacts group it to linea-besu and remove uneeded stuff
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
This commit is contained in:
52
build.gradle
52
build.gradle
@@ -29,27 +29,14 @@ plugins {
|
||||
id 'me.champeau.jmh' version '0.7.0' apply false
|
||||
id 'net.ltgt.errorprone' version '2.0.2'
|
||||
id 'maven-publish'
|
||||
id 'org.sonarqube' version '3.4.0.2513'
|
||||
}
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property "sonar.projectKey", "hyperledger_besu"
|
||||
property "sonar.organization", "hyperledger"
|
||||
property "sonar.host.url", "https://sonarcloud.io"
|
||||
property "sonar.coverage.jacoco.xmlReportPaths", "${buildDir}/reports/jacoco/jacocoRootReport/jacocoRootReport.xml"
|
||||
property "sonar.coverage.exclusions", "acceptance-tests/**/*"
|
||||
}
|
||||
}
|
||||
|
||||
project.tasks["sonarqube"].dependsOn "jacocoRootReport"
|
||||
|
||||
if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
|
||||
throw new GradleException("Java 17 or later is required to build Besu.\n" +
|
||||
" Detected version ${JavaVersion.current()}")
|
||||
}
|
||||
|
||||
group = 'org.hyperledger.besu'
|
||||
group = 'com.consensys.linea-besu'
|
||||
|
||||
defaultTasks 'build', 'checkLicenses', 'javadoc'
|
||||
|
||||
@@ -612,43 +599,6 @@ distZip {
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
distArtifactory(MavenPublication) {
|
||||
groupId = '.'
|
||||
version = project.version
|
||||
artifactId = 'besu'
|
||||
artifact("$buildDir/distributions/besu-${project.version}.zip")
|
||||
artifact("$buildDir/distributions/besu-${project.version}.tar.gz") { extension = 'tar.gz' }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def artifactoryUser = project.hasProperty('artifactoryUser') ? project.property('artifactoryUser') : System.getenv('ARTIFACTORY_USER')
|
||||
def artifactoryKey = project.hasProperty('artifactoryApiKey') ? project.property('artifactoryApiKey') : System.getenv('ARTIFACTORY_KEY')
|
||||
def artifactoryOrg = System.getenv('ARTIFACTORY_ORG') ?: 'hyperledger'
|
||||
|
||||
artifactory {
|
||||
contextUrl = "https://hyperledger.jfrog.io/${artifactoryOrg}"
|
||||
publish {
|
||||
repository {
|
||||
repoKey = "besu-binaries"
|
||||
username = artifactoryUser
|
||||
password = artifactoryKey
|
||||
}
|
||||
defaults {
|
||||
publications('distArtifactory')
|
||||
publishArtifacts = true
|
||||
publishPom = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
artifactoryPublish {
|
||||
dependsOn distTar
|
||||
dependsOn distZip
|
||||
}
|
||||
|
||||
def dockerBuildVersion = project.hasProperty('release.releaseVersion') ? project.property('release.releaseVersion') : "${rootProject.version}"
|
||||
def dockerOrgName = project.hasProperty('dockerOrgName') ? project.getProperty("dockerOrgName") : "hyperledger"
|
||||
def dockerArtifactName = project.hasProperty("dockerArtifactName") ? project.getProperty("dockerArtifactName") : "besu"
|
||||
|
||||
@@ -23,7 +23,7 @@ jar {
|
||||
'Specification-Version': project.version,
|
||||
'Implementation-Title': archiveBaseName,
|
||||
'Implementation-Version': calculateVersion(),
|
||||
'Automatic-Module-Name': 'org.hyperledger.besu.internal.crypto'
|
||||
'Automatic-Module-Name': 'com.consensys.linea-besu.internal.crypto'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ jar {
|
||||
'Specification-Version': project.version,
|
||||
'Implementation-Title': archiveBaseName,
|
||||
'Implementation-Version': calculateVersion(),
|
||||
'Automatic-Module-Name': 'org.hyperledger.besu.internal.crypto'
|
||||
'Automatic-Module-Name': 'com.consensys.linea-besu.internal.crypto'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ jar {
|
||||
'Specification-Version': project.version,
|
||||
'Implementation-Title': archiveBaseName,
|
||||
'Implementation-Version': calculateVersion(),
|
||||
'Automatic-Module-Name': 'org.hyperledger.besu.datatypes'
|
||||
'Automatic-Module-Name': 'com.consensys.linea-besu.datatypes'
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,7 @@ configurations { testArtifacts }
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
groupId 'org.hyperledger.besu'
|
||||
groupId 'com.consensys.linea-besu'
|
||||
artifactId 'besu-datatypes'
|
||||
pom {
|
||||
name = 'Besu Datatypes'
|
||||
|
||||
@@ -23,7 +23,7 @@ jar {
|
||||
'Specification-Version': project.version,
|
||||
'Implementation-Title': archiveBaseName,
|
||||
'Implementation-Version': calculateVersion(),
|
||||
'Automatic-Module-Name': 'org.hyperledger.besu.internal.rlp'
|
||||
'Automatic-Module-Name': 'com.consensys.linea-besu.internal.rlp'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ jar {
|
||||
'Specification-Version': project.version,
|
||||
'Implementation-Title': archiveBaseName,
|
||||
'Implementation-Version': calculateVersion(),
|
||||
'Automatic-Module-Name': 'org.hyperledger.besu.evm'
|
||||
'Automatic-Module-Name': 'com.consensys.linea-besu.evm'
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -61,7 +61,7 @@ dependencies {
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
groupId 'org.hyperledger.besu'
|
||||
groupId 'com.consensys.linea-besu'
|
||||
pom {
|
||||
name = 'Besu EVM'
|
||||
description = 'EVM Engine component'
|
||||
|
||||
@@ -22,7 +22,7 @@ jar {
|
||||
'Specification-Version': project.version,
|
||||
'Implementation-Title': archiveBaseName,
|
||||
'Implementation-Version': calculateVersion(),
|
||||
'Automatic-Module-Name': 'org.hyperledger.besu.plugin.api'
|
||||
'Automatic-Module-Name': 'com.consensys.linea-besu.plugin.api'
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -76,7 +76,7 @@ check.dependsOn('checkAPIChanges')
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
groupId 'org.hyperledger.besu'
|
||||
groupId 'com.consensys.linea-besu'
|
||||
pom {
|
||||
name = 'Besu Plugins Library'
|
||||
description = 'Core Plugins Libraries for Besu'
|
||||
|
||||
@@ -23,7 +23,7 @@ jar {
|
||||
'Specification-Version': project.version,
|
||||
'Implementation-Title': archiveBaseName,
|
||||
'Implementation-Version': calculateVersion(),
|
||||
'Automatic-Module-Name': 'org.hyperledger.besu.internal.util'
|
||||
'Automatic-Module-Name': 'com.consensys.linea-besu.internal.util'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user