Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SableCC STUPS
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
SableCC STUPS
Commits
0a3423ca
Commit
0a3423ca
authored
1 month ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Update publishing settings for new Maven Central Portal
parent
a3d73f1e
No related branches found
No related tags found
No related merge requests found
Pipeline
#158178
passed
1 month ago
Stage: test
Stage: deploy
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
build.gradle
+9
-10
9 additions, 10 deletions
build.gradle
gradle.properties.enc
+5
-4
5 additions, 4 deletions
gradle.properties.enc
sablecc-runtime/build.gradle
+0
-14
0 additions, 14 deletions
sablecc-runtime/build.gradle
with
15 additions
and
29 deletions
.gitlab-ci.yml
+
1
−
1
View file @
0a3423ca
...
...
@@ -39,7 +39,7 @@ publish:
-
openssl aes-256-cbc -d -base64 -pbkdf2 -pass "env:ENCRYPTION_PASSWORD" -in gradle.properties.enc -out gradle.properties
-
openssl aes-256-cbc -d -base64 -pbkdf2 -pass "env:ENCRYPTION_PASSWORD" -in pubring.gpg.enc -out pubring.gpg
-
openssl aes-256-cbc -d -base64 -pbkdf2 -pass "env:ENCRYPTION_PASSWORD" -in secring.gpg.enc -out secring.gpg
-
./gradlew ${GRADLE_OPTIONS} publish
-
./gradlew ${GRADLE_OPTIONS} publish
closeStagingRepositories
only
:
-
master@general/stups/sablecc-stups
-
develop@general/stups/sablecc-stups
This diff is collapsed.
Click to expand it.
build.gradle
+
9
−
10
View file @
0a3423ca
...
...
@@ -3,6 +3,8 @@ plugins {
id
"java"
id
"maven-publish"
id
"signing"
id
(
"io.github.gradle-nexus.publish-plugin"
).
version
(
"2.0.0"
)
}
allprojects
{
...
...
@@ -13,6 +15,8 @@ allprojects {
ext
.
"signing.secretKeyRingFile"
=
rootProject
.
file
(
"secring.gpg"
).
absolutePath
}
final
snapshotsRepoUrl
=
"https://central.sonatype.com/repository/maven-snapshots/"
final
releasesStagingRepoUrl
=
"https://ossrh-staging-api.central.sonatype.com/service/local/"
repositories
{
mavenCentral
()
}
...
...
@@ -135,18 +139,13 @@ publishing {
}
}
}
}
nexusPublishing
{
repositories
{
maven
{
final
releasesRepoUrl
=
"https://oss.sonatype.org/service/local/staging/deploy/maven2"
final
snapshotsRepoUrl
=
"https://oss.sonatype.org/content/repositories/snapshots"
url
=
isSnapshot
?
snapshotsRepoUrl
:
releasesRepoUrl
if
(
project
.
hasProperty
(
'ossrhUsername'
)
&&
project
.
hasProperty
(
'ossrhPassword'
))
{
credentials
{
username
=
project
.
ossrhUsername
password
=
project
.
ossrhPassword
}
}
mavenCentral
{
snapshotRepositoryUrl
.
set
(
uri
(
snapshotsRepoUrl
))
nexusUrl
.
set
(
uri
(
releasesStagingRepoUrl
))
}
}
}
...
...
This diff is collapsed.
Click to expand it.
gradle.properties.enc
+
5
−
4
View file @
0a3423ca
U2FsdGVkX1+BEAbjRIB+mXtm8SXf7JkI+WHnEimPW4vLHWrbGs8PY7u+B9BCqO+3
vmUhdJFfnwJglivtRmt3ecLUpSSG3pZFXrdtnR/eHdLIkbGIIjZRcRTokF66Z2CQ
sWdDhhu2gsRxXOiKSQ/d5MknWHd+zlLoMiWJv3u+EQ3desH/cadBC1RAod7L6Kul
UtSAw5pmAJFaBrRFoOJVvw7hi5ZkpcMB3JTZL2+1Tsxs50m7XAqc5PVdCHpMqVMb
U2FsdGVkX19piKEOUkSYKdDeqhnlaWPFZogPpH92J23jhFA+9LyzD+WbGUx/PD3u
VvDpzYel3BLSKKrQgaK3iJOoSNiZTnP6CtG1dBh1nTd/c0vGx6vAjEXhyH/Q9YO1
kiNBBHt1yjcrZpWsoCz5rtKFCMseuW9LT5DiD1u8y+d/RnBjfUYHyOzGGJbEE5uT
XE6SV4JL9kir7K71KHjXTfMyKFTXPbhGdPUVWMsx/MPL4YRanPEWKLH6P5ReeS4J
i1x21w0oy61wDvt/XQI7RA==
This diff is collapsed.
Click to expand it.
sablecc-runtime/build.gradle
+
0
−
14
View file @
0a3423ca
...
...
@@ -55,20 +55,6 @@ publishing {
}
}
}
repositories
{
maven
{
final
releasesRepoUrl
=
"https://oss.sonatype.org/service/local/staging/deploy/maven2"
final
snapshotsRepoUrl
=
"https://oss.sonatype.org/content/repositories/snapshots"
url
=
isSnapshot
?
snapshotsRepoUrl
:
releasesRepoUrl
if
(
project
.
hasProperty
(
'ossrhUsername'
)
&&
project
.
hasProperty
(
'ossrhPassword'
))
{
credentials
{
username
=
project
.
ossrhUsername
password
=
project
.
ossrhPassword
}
}
}
}
}
signing
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment