mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
Duplicate publishing conf for platform project
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
This commit is contained in:
@@ -185,7 +185,20 @@ spotless {
|
||||
}
|
||||
}
|
||||
|
||||
def cloudsmithUser = project.hasProperty('cloudsmithUser') ? project.property('cloudsmithUser') : System.getenv('CLOUDSMITH_USER')
|
||||
def cloudsmithKey = project.hasProperty('cloudsmithApiKey') ? project.property('cloudsmithApiKey') : System.getenv('CLOUDSMITH_API_KEY')
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
name = "cloudsmith"
|
||||
url = "https://api.cloudsmith.io/maven/consensys/linea-besu/"
|
||||
credentials {
|
||||
username = cloudsmithUser
|
||||
password = cloudsmithKey
|
||||
}
|
||||
}
|
||||
}
|
||||
publications {
|
||||
mavenPlatform(MavenPublication) {
|
||||
from components.javaPlatform
|
||||
|
||||
Reference in New Issue
Block a user