Skip to content

Commit a8cfe97

Browse files
committed
fix publishing artifactid
1 parent 1d4dc11 commit a8cfe97

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@ deploy:
7777
# Use only first job "#xxx.1" to publish artifacts
7878
condition: "${TRAVIS_JOB_NUMBER} =~ \\.1$"
7979

80+
- provider: script
81+
script: ./gradlew uploadArchives
82+
skip_cleanup: true
83+
on:
84+
repository: utPLSQL/utPLSQL-java-api
85+
branch: fix-artifactid
86+
# Use only first job "#xxx.1" to publish artifacts
87+
condition: "${TRAVIS_JOB_NUMBER} =~ \\.1$"
88+
8089
notifications:
8190
slack:
8291
rooms:

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ tasks {
131131
from("$buildDir/publications/maven")
132132
rename(".*", "pom.xml")
133133
}
134-
134+
archiveBaseName.set("java-api")
135135
}
136136

137137
named<Upload>("uploadArchives") {

0 commit comments

Comments
 (0)