Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tlatools
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
tlatools
Compare revisions
e74d8836549c19fbd0133fee203de08a6328d370 to 635c9c4b1f99247cacbb01bb5b3727abda2d11b4
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
general/stups/tlatools
Select target project
No results found
635c9c4b1f99247cacbb01bb5b3727abda2d11b4
Select Git revision
Loading items
Swap
Target
general/stups/tlatools
Select target project
general/stups/tlatools
1 result
e74d8836549c19fbd0133fee203de08a6328d370
Select Git revision
Loading items
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source
2
Migrate to Gradle maven-publish plugin from deprecated maven plugin
· 3ed692bb
dgelessus
authored
8 months ago
3ed692bb
Add comment about why javadoc.failOnError is disabled
· 635c9c4b
dgelessus
authored
8 months ago
635c9c4b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
tlatools/org.lamport.tlatools/build.gradle
+57
-62
57 additions, 62 deletions
tlatools/org.lamport.tlatools/build.gradle
with
58 additions
and
63 deletions
.gitlab-ci.yml
View file @
635c9c4b
...
...
@@ -17,6 +17,6 @@ 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_ARGS}
uploadArchives
-
./gradlew ${GRADLE_ARGS}
publish
only
:
-
master@general/stups/tlatools
This diff is collapsed.
Click to expand it.
tlatools/org.lamport.tlatools/build.gradle
View file @
635c9c4b
apply
plugin:
'java'
apply
plugin:
'eclipse'
apply
plugin:
'maven'
apply
plugin:
"maven-publish"
apply
plugin:
"signing"
project
.
version
=
'1.1.0-SNAPSHOT'
project
.
group
=
'de.hhu.stups'
project
.
archivesBaseName
=
'tlatools'
final
isSnapshot
=
project
.
version
.
endsWith
(
"-SNAPSHOT"
)
project
.
sourceCompatibility
=
JavaVersion
.
VERSION_1_8
project
.
targetCompatibility
=
JavaVersion
.
VERSION_1_8
...
...
@@ -24,10 +27,22 @@ sourceSets {
}
}
java
{
withSourcesJar
()
withJavadocJar
()
}
javadoc
{
// The TLA Tools source code uses unescaped HTML symbols in Javadoc text,
// which is considered an error.
failOnError
=
false
}
sourcesJar
{
// Ignore duplicates because the same directory is used for sources and resources.
duplicatesStrategy
=
DuplicatesStrategy
.
EXCLUDE
}
task
tlatools
(
type:
Copy
,
dependsOn:
build
)
{
from
(
'build/libs/'
)
into
(
'build/tlatools'
)
...
...
@@ -35,75 +50,55 @@ task tlatools(type: Copy, dependsOn: build) {
rename
(
'tlatools-(.+)'
,
'tlatools.jar'
)
}
if
(
project
.
hasProperty
(
'ossrhUsername'
)
&&
project
.
hasProperty
(
'ossrhPassword'
))
{
println
"Configuring deployment for ${ project.name }"
apply
plugin:
'signing'
task
javadocJar
(
type:
Jar
)
{
classifier
=
'javadoc'
from
javadoc
}
task
sourcesJar
(
type:
Jar
)
{
classifier
=
'sources'
from
sourceSets
.
main
.
allSource
// Ignore duplicates because the same directory is used for sources and resources.
duplicatesStrategy
=
DuplicatesStrategy
.
EXCLUDE
}
artifacts
{
archives
javadocJar
,
sourcesJar
}
ext
.
"signing.secretKeyRingFile"
=
rootProject
.
file
(
"secring.gpg"
).
absolutePath
signing
{
sign
configurations
.
archives
}
uploadArchives
{
repositories
{
mavenDeployer
{
beforeDeployment
{
MavenDeployment
deployment
->
signing
.
signPom
(
deployment
)
}
repository
(
url:
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"
)
{
authentication
(
userName:
ossrhUsername
,
password:
ossrhPassword
)
}
snapshotRepository
(
url:
"https://oss.sonatype.org/content/repositories/snapshots/"
)
{
authentication
(
userName:
ossrhUsername
,
password:
ossrhPassword
)
}
pom
.
project
{
name
"TLA+ Tools"
packaging
'jar'
// optionally artifactId can be defined here
description
'Modified version of the TLA+ tools for usage in ProB'
url
'https://github.com/hhu-stups/tlatools'
publishing
{
publications
{
mavenJava
(
MavenPublication
)
{
pom
{
name
=
"TLA+ Tools"
description
=
"Modified version of the TLA+ tools for usage in ProB"
url
=
"https://github.com/hhu-stups/tlatools"
licenses
{
license
{
name
'
MIT License
'
url
'
http://research.microsoft.com/en-us/um/people/lamport/tla/license.html
'
name
=
"
MIT License
"
url
=
"
http://research.microsoft.com/en-us/um/people/lamport/tla/license.html
"
}
}
scm
{
connection
'
scm:git:git://github.com/hhu-stups/tlatools.git
'
developerConnection
'
scm:git:git@github.com:hhu-stups/tlatools.git
'
url
'
https://github.com/hhu-stups/tlatools
'
connection
=
"
scm:git:git://github.com/hhu-stups/tlatools.git
"
developerConnection
=
"
scm:git:git@github.com:hhu-stups/tlatools.git
"
url
=
"
https://github.com/hhu-stups/tlatools
"
}
developers
{
developer
{
id
'
bendisposto
'
name
'
Jens Bendisposto
'
email
'
jens@bendisposto.de
'
id
=
"
bendisposto
"
name
=
"
Jens Bendisposto
"
email
=
"
jens@bendisposto.de
"
}
}
}
}
}
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
}
}
}
}
}
ext
.
"signing.secretKeyRingFile"
=
rootProject
.
file
(
"secring.gpg"
).
absolutePath
signing
{
sign
publishing
.
publications
.
mavenJava
}
This diff is collapsed.
Click to expand it.