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
Commits
b0a018c6
Commit
b0a018c6
authored
11 months ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Ignore duplicates in sourcesJar
parent
7eb5987d
No related branches found
No related tags found
No related merge requests found
Pipeline
#139337
passed
11 months ago
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
tlatools/build.gradle
+2
-0
2 additions, 0 deletions
tlatools/build.gradle
with
3 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
b0a018c6
image
:
eclipse-temurin:8
image
:
eclipse-temurin:8
variables
:
variables
:
GRADLE_ARGS
:
--no-daemon --warning-mode=all
GRADLE_ARGS
:
--no-daemon
--stacktrace
--warning-mode=all
GRADLE_USER_HOME
:
"
$CI_PROJECT_DIR/.gradle"
GRADLE_USER_HOME
:
"
$CI_PROJECT_DIR/.gradle"
cache
:
cache
:
...
...
This diff is collapsed.
Click to expand it.
tlatools/build.gradle
+
2
−
0
View file @
b0a018c6
...
@@ -53,6 +53,8 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')
...
@@ -53,6 +53,8 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')
task
sourcesJar
(
type:
Jar
)
{
task
sourcesJar
(
type:
Jar
)
{
classifier
=
'sources'
classifier
=
'sources'
from
sourceSets
.
main
.
allSource
from
sourceSets
.
main
.
allSource
// Ignore duplicates because the same directory is used for sources and resources.
duplicatesStrategy
=
DuplicatesStrategy
.
EXCLUDE
}
}
artifacts
{
artifacts
{
...
...
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