mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Partial fix to the bintray upload bug.
This commit is contained in:
parent
44ac3fbcf6
commit
9436ad1b88
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class BintrayApi @Inject constructor(val http: Http,
|
|||
|
||||
@Multipart
|
||||
@Headers("Content-Type: application/xml")
|
||||
@PUT("/content/{owner}/maven/{repo}/{version}/{group}/{artifact}/{name}")
|
||||
@PUT("/content/{owner}/maven/{repo}/{version}/{group}/{artifact}/{version}/{name}")
|
||||
fun uploadPom(@Path("owner") owner: String,
|
||||
@Path("repo") repo: String,
|
||||
@Path("group", encoded = true) group: String,
|
||||
|
@ -73,7 +73,7 @@ class BintrayApi @Inject constructor(val http: Http,
|
|||
@Part file: MultipartBody.Part): Call<BintrayResponse>
|
||||
|
||||
@Multipart
|
||||
@PUT("/content/{owner}/maven/{repo}/{version}/{group}/{artifact}/{name}")
|
||||
@PUT("/content/{owner}/maven/{repo}/{version}/{group}/{artifact}/{version}/{name}")
|
||||
fun uploadArtifact(@Path("owner") owner: String,
|
||||
@Path("repo") repo: String,
|
||||
@Path("group", encoded = true) group: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue